Commit Graph

  • ef514af267 Added NoTruncation flag to completions (#58719) Armando Aguirre 2024-05-31 16:26:19 -07:00
  • e4d20f8668 Accept new baselines Anders Hejlsberg 2024-05-31 15:16:19 -07:00
  • d4976c08b1 Clone node to remove location even when it has been modified if needed (#58706) Wesley Wigham 2024-05-31 15:16:16 -07:00
  • 8ccfb4a7da Analyze control flow effects of lambdas passed as arguments Anders Hejlsberg 2024-05-31 15:16:04 -07:00
  • 6c058d4ef6 Properly account for this argument in intersection apparent type caching (#58677) Anders Hejlsberg 2024-05-31 14:45:07 -07:00
  • 3aaa614bb9 Fix: Include Values of Script Extensions for Unicode Property Value Expressions in Regular Expressions (#58615) graphemecluster 2024-06-01 04:15:45 +08:00
  • 4c233f1ca4 In reScanSlashToken use charCodeChecked not codePointChecked (#58727) Ron Buckton 2024-05-31 16:08:06 -04:00
  • 7f7ff923c9 Shorten error spans for errors reported on constructor declarations (#58061) Mateusz Burzyński 2024-05-31 21:31:38 +02:00
  • 40583ff9df Mark file as skips typechecking if it contains ts-nocheck (#58593) Sheetal Nandi 2024-05-31 12:18:43 -07:00
  • 60991e0021 Fixed an issue with broken await using declarations in for of loops (#56466) Mateusz Burzyński 2024-05-31 19:55:28 +02:00
  • 389b579a83 Do not expand type references in keyof and index access (#58715) Titian Cernicova-Dragomir 2024-05-31 20:55:06 +03:00
  • fc42002a10 Improve the performance of isolatedDeclarations quickfix (#58722) Ben Lickly 2024-05-31 09:04:07 -07:00
  • f5b2d9b10e Unwrap NoInfer types when narrowing (#58292) Mateusz Burzyński 2024-05-31 17:34:34 +02:00
  • 22eaccba2a Recover from type reuse errors by falling back to inferred type printing (#58720) Titian Cernicova-Dragomir 2024-05-31 01:51:38 +03:00
  • 59e6620260 Fixing self import (#58718) navya9singh 2024-05-30 15:02:43 -07:00
  • bbfc1aa281 Enable JS emit for noCheck and noCheck for transpileModule (#58364) Wesley Wigham 2024-05-30 13:38:37 -07:00
  • b7d8809150 Revert PR 55371 (#58702) Gabriela Araujo Britto 2024-05-30 09:53:58 -07:00
  • 5df3a107c0 Update dependencies (#58639) Jake Bailey 2024-05-29 16:20:16 -07:00
  • 1efb61baf2 Fix baselines after PR 58621 (#58705) Jake Bailey 2024-05-29 15:52:31 -07:00
  • 718d79807c Do not infer yield* type from contextual TReturn (#58621) Ron Buckton 2024-05-29 18:05:00 -04:00
  • 2a9e4b8aa2 await using normative changes (#58624) Ron Buckton 2024-05-29 17:34:00 -04:00
  • 1659a9d615 Handling statements from a known source file (#58679) navya9singh 2024-05-29 13:46:37 -07:00
  • 0cc62c3007 Correct Regular Expressions Behavior Related to Annex B (#58320) graphemecluster 2024-05-30 04:14:10 +08:00
  • fa58c615a4 Handle exported functions in ExportDeclarations for CJS/AMD/UMD emit (#58489) Jake Bailey 2024-05-28 17:22:27 -07:00
  • 8f408cc120 Check resolution of tslib per file (#58654) Gabriela Araujo Britto 2024-05-28 16:45:51 -07:00
  • 1d026a9f69 Only resolve source return type when actually needed during inference (#58650) Anders Hejlsberg 2024-05-28 08:10:06 -07:00
  • af3a61fe44 fix(57022): Rename of string literal property name doesn't rename all occurences (#57201) Zzzen 2024-05-25 07:04:02 +08:00
  • 7ad8f39118 Some tests coverage for --out and errors scenarios (#58652) Sheetal Nandi 2024-05-24 14:12:38 -07:00
  • d0ef028841 Improve Recovery of Unterminated Regular Expressions (#58289) graphemecluster 2024-05-25 03:46:26 +08:00
  • 842cf177db Improved errors for required parameters with default values in isolated declaration (#58637) Titian Cernicova-Dragomir 2024-05-24 21:50:47 +03:00
  • 6856735985 Remove members that are invalid computed properties. (#58646) Titian Cernicova-Dragomir 2024-05-24 20:25:46 +03:00
  • 87918f52df Compact the tsbuild info by encoding info differently for some of the situations (#58641) Sheetal Nandi 2024-05-24 09:38:24 -07:00
  • cffc425ad7 fix53287 mergeSymbol checks if the resolved target can merge with the source (#58326) Isabel Duan 2024-05-23 17:30:13 -07:00
  • abc37af88d move to code actions update and tests (#58548) Justin Chen 2024-05-23 12:34:42 -07:00
  • a1dfb1abe5 Fix class decorator detection in class fields transform (#58554) Ron Buckton 2024-05-23 15:32:46 -04:00
  • d66a30992b Add test for issue fixed by #58546 (#58635) Wesley Wigham 2024-05-23 12:31:01 -07:00
  • 2b4e7e34e7 Improve reuse of nodes in signatures with type mapping (#58546) Titian Cernicova-Dragomir 2024-05-23 22:11:29 +03:00
  • b3f3bb3d38 Propagate the error any type in union and intersection construction (#58610) Wesley Wigham 2024-05-23 09:38:57 -07:00
  • a203ace7af Ban inferred return type on async and generator functions. (#58628) Titian Cernicova-Dragomir 2024-05-23 19:29:49 +03:00
  • ddf43cd0e0 CodeMapper support (#55406) Kat Marchán 2024-05-22 16:47:08 -07:00
  • 8537bb72eb Error if type node uses inaccessible type in isolated declarations (#58620) Titian Cernicova-Dragomir 2024-05-23 01:51:11 +03:00
  • f2aebff7a3 Use dprint package for dtsBundler formatting rather than dprint CLI (#58625) Jake Bailey 2024-05-22 15:20:26 -07:00
  • e02af8e36d Fix issue where sometimes modified timestamp file was not shown in baseline (#58623) Sheetal Nandi 2024-05-22 14:38:44 -07:00
  • b682ed4504 Lock down computed names in object literals and classes under --isolatedDeclarations (#58596) Wesley Wigham 2024-05-22 12:28:07 -07:00
  • 9370347f5b Fix missing sanitization in verifyTsc baselines for timestamps (#58609) Sheetal Nandi 2024-05-21 15:25:19 -07:00
  • 75342d8ca8 fix(58584): formatJSDocLink shouldn't introduce a trailing space when non link text. (#58585) Matthieu Riegler 2024-05-21 23:53:52 +02:00
  • cd40d26f01 Skip typechecking file when generating declaraiton to get d.ts signature for incremental build (#58592) Sheetal Nandi 2024-05-21 14:09:44 -07:00
  • 06841520db If module exports const enum, invalidate js files along with dts as it can impact js emit as well (#58594) Sheetal Nandi 2024-05-21 13:57:57 -07:00
  • 6f72e24544 Fix elided var handling in declaration emit visibility checks (#58605) Wesley Wigham 2024-05-21 13:44:35 -07:00
  • 11b73ecc4a Fixing a case when text is pasted into a blank file (#58595) navya9singh 2024-05-21 11:54:35 -07:00
  • 84ab39d7f0 Respect importModuleSpecifierPreference in sort order between fixes for the same symbol from different files (#58597) Andrew Branch 2024-05-21 08:36:53 -07:00
  • ba78807aa1 Handle project / program roots in tsserver correctly (#58562) Sheetal Nandi 2024-05-20 11:45:31 -07:00
  • 079f49e5ae Read log file or requests file if supplied as input serverCommandsFromFile Sheetal Nandi 2018-09-28 12:32:14 -07:00
  • d84431e706 Handle root files listed in project config from referenced project to be same as if they were included through import (#58560) Sheetal Nandi 2024-05-20 10:05:42 -07:00
  • 79a851426c Attempt to reuse type parameter constraint nodes (#58539) Wesley Wigham 2024-05-16 14:51:09 -07:00
  • e8274f74f9 add types for set methods proposal (#57230) Kevin Gibbons 2024-05-16 14:19:25 -07:00
  • 4da470da37 fix56509: return type if tryCreateAwaitedType fails (#58547) Isabel Duan 2024-05-16 14:02:15 -07:00
  • 5c21b7fd93 Update package-lock.json TypeScript Bot 2024-05-16 06:11:26 +00:00
  • 84ed6a3d64 Make sure that jsdoc is always in range with parameter declaration (#58538) Sheetal Nandi 2024-05-15 12:03:09 -07:00
  • 4ece0a381b Partially reuse type nodes (#58516) Titian Cernicova-Dragomir 2024-05-14 21:56:41 +01:00
  • 2d47953d9d Declaration emit should avoid issuing errors on unresolved names (#58536) Wesley Wigham 2024-05-14 12:49:05 -07:00
  • ef01ea1ac6 Stop checking existing resolution now that we have concept of package ID (#58528) Sheetal Nandi 2024-05-14 10:30:22 -07:00
  • d90e8e7eca Fix constant evaluation of template string expressions (#58500) Anders Hejlsberg 2024-05-14 03:44:05 -10:00
  • e51cbc8764 Do not lowercase typeReference directive name (#58525) Sheetal Nandi 2024-05-13 16:35:49 -07:00
  • 524456ff5a Fix incorrect usage of getResolvedTypeReferenceDirectives and some refactoring (#58527) Sheetal Nandi 2024-05-13 16:03:40 -07:00
  • d8fd9fd05b Bump the github-actions group with 3 updates (#58510) dependabot[bot] 2024-05-13 14:39:49 -07:00
  • 56cfd6c3a8 Preserve return type nodes which resolve to errors in declaration emit (#58522) Wesley Wigham 2024-05-13 11:55:01 -07:00
  • 8111503772 Update unicode identifier start/part with more recent unicode version (#58521) Wesley Wigham 2024-05-13 11:14:34 -07:00
  • 0b37062eb0 Remove unused SymbolLinks properties (#58393) Joost Koehoorn 2024-05-11 00:01:22 +02:00
  • fadc83b939 Handle config file change and default project management (#58486) Sheetal Nandi 2024-05-10 14:50:43 -07:00
  • 017c1e0e64 fix(55765): Implement Interface Code Action is not available under certain circumstances (#55767) Oleksandr T 2024-05-11 00:46:51 +03:00
  • 72c12c9920 Isolated declarations fix signature serialization scoping (#58409) Titian Cernicova-Dragomir 2024-05-10 22:09:25 +01:00
  • 0c1b36fb65 fix37816: goToDefinition skips call signatures for jsx components (#57969) Isabel Duan 2024-05-10 13:45:45 -07:00
  • 9f9682c0a0 Move all js emit alias marking behavior behind a single entrypoint (#58366) Wesley Wigham 2024-05-09 17:03:11 -07:00
  • 19dc1c6c8c Re-export more referenced types from protocol.ts (#58487) Andrew Branch 2024-05-09 11:42:15 -07:00
  • 81e9929154 Load unit tests more consistently (pulled from ESM branch) (#58481) Jake Bailey 2024-05-09 10:32:05 -07:00
  • be8fb98cf1 Implementing copy/paste (#57262) navya9singh 2024-05-08 16:07:51 -07:00
  • dcec37e532 fix(58399): [isolatedDeclarations][5.5] Autofix does not work when JSX prop contains a dash (#58478) Oleksandr T 2024-05-09 01:12:43 +03:00
  • fece7f11c0 Preserve type nodes which resolve to errors in declaration emit output (#58475) Wesley Wigham 2024-05-08 13:29:51 -07:00
  • bc14459f3b Refactor default export info name gathering (#58460) Andrew Branch 2024-05-08 09:33:17 -07:00
  • b9c71c3fc3 Always send configFileDiagEvent and instead set triggerFile for more consistency (#58462) Sheetal Nandi 2024-05-07 15:58:26 -07:00
  • 9d714f47c0 Update dependencies (#58458) Jake Bailey 2024-05-07 12:55:16 -07:00
  • 14b4529a69 Fix tslib resolutions (#58451) Andrew Branch 2024-05-07 11:28:20 -07:00
  • 320764c386 Upgrade to esbuild 0.21 (#58454) Jake Bailey 2024-05-07 09:32:33 -07:00
  • 0d3c48109d Declaration emit should retain (instead of elide) unresolved computed names (#58428) Wesley Wigham 2024-05-07 05:42:13 -07:00
  • 16beff101a Use explicit extensions for imports within src (#58421) Jake Bailey 2024-05-06 17:07:54 -07:00
  • 9598d35074 Avoid getting single call signatures when parameter types are the same (#58392) Mateusz Burzyński 2024-05-07 01:49:24 +02:00
  • fd81d04080 Lazy calculation of expensive file explaining diagnsotics and some caching to be used to share the diagnostic data (#58398) Sheetal Nandi 2024-05-06 16:30:17 -07:00
  • 2070713f4b Ensure jsDocParsingMode is passed to LanguageService document registry (#58404) Jake Bailey 2024-05-06 16:08:54 -07:00
  • 70d8ec2f26 Fix name generation scoping (#58418) Ron Buckton 2024-05-06 11:59:37 -04:00
  • e154d47851 Type alias declarations should not return an effective annotation node (#58410) Wesley Wigham 2024-05-03 10:34:35 -07:00
  • 3a74ec4e99 Disable constraint reduction in intersections created by constraint hoisting (#58403) Anders Hejlsberg 2024-05-02 16:55:11 -07:00
  • 2e182815c1 Run formatter typescript-settings-type Ron Buckton 2024-05-01 18:49:31 -04:00
  • e9a627582c Add synthetic TypeScriptSettings interface that exposes some compiler flags to type system Ron Buckton 2024-05-01 18:03:32 -04:00
  • 7a38980a7e Validate the options passed in are numbers instead of strings for our custom commandline options (#58388) Sheetal Nandi 2024-05-01 14:51:36 -07:00
  • 66dd12e699 fix(58259): getTextOfJSDocComment is stripping # from JSDoc comment (#58338) Oleksandr T 2024-05-01 21:47:26 +03:00
  • 62c41f8db4 Update baselines after PR 58001 (#58386) Jake Bailey 2024-05-01 09:41:05 -07:00
  • f01cae8893 Fixed an issue with missingType narrowing by case undefined in default cases (#58001) Mateusz Burzyński 2024-05-01 17:57:42 +02:00
  • 33b156147b Add a code fixer for --isolatedDeclarations errors (#58260) Hana Joo 2024-05-01 00:25:51 +02:00
  • 749bd834be Cache discriminated contextual types (#58372) Anders Hejlsberg 2024-04-30 12:40:28 -07:00