Commit Graph
26702 Commits
Author SHA1 Message Date
Mateusz BurzyńskiandGitHub 12e205b1e9 Don't try to add an implicit undefined for mapped properties outside of strictNullChecks (#60393) 2024-12-19 11:47:26 -08:00
Mateusz BurzyńskiandGitHub 0dda037f9f Improve unknown narrowing by negated type predicates (#60795) 2024-12-18 10:44:43 -08:00
Daniel RosenwasserandGitHub c8af21b4fb Add tests for getNormalizedAbsolutePath. (#60802) 2024-12-17 17:45:48 -08:00
CSIGS@microsoft.comandGitHub e1db57d83c LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20241217202808030 to main (#60797) 2024-12-17 13:27:17 -08:00
7be4b2c697 Harden sanitizeLog against incorrect matches on TypeScript versions. (#60794)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2024-12-17 12:56:20 -08:00
Andrew BranchandGitHub f69580f821 Add --module node18 (#60722) 2024-12-13 10:16:23 -08:00
CSIGS@microsoft.comandGitHub 4a18b5cf8d LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20241212204530251 to main (#60752) 2024-12-12 13:21:18 -08:00
Andrew BranchandGitHub 44e84bb7b0 Do not require import attribute on type-only JSON import (#60749) 2024-12-12 11:42:25 -08:00
Isabel DuanandGitHub 3d2b8f33d4 Remove reference not found errors from jsx: preserve (#60687) 2024-12-09 10:38:37 -08:00
Andrew BranchandGitHub 421f5c5458 Fix incorrect usage of package.json types/main in package subdirectories (#60696) 2024-12-06 13:47:41 -08:00
Mateusz BurzyńskiandGitHub 239a2a936f Error on override used on dynamically named class members (#60691) 2024-12-06 11:05:25 -08:00
Wesley WighamandGitHub 12d96878bc Lookup non-local element factory for reference marking when marking fragment references (#60684) 2024-12-04 16:44:24 -08:00
Wesley WighamandGitHub 517da72a57 Cache started nonexistent property error checks to prevent reentrancy in the check (#60683) 2024-12-04 15:13:20 -08:00
Ryan CavanaughandGitHub 4105134626 Include type-meaning 'extends' clause in auto-import fix list (#59853) 2024-12-04 13:22:25 -08:00
Wesley WighamandGitHub 42f893ff75 Mark the inherited any-based index signature so it can be elided in declaration emit (#60680) 2024-12-04 13:21:16 -08:00
Mateusz BurzyńskiandGitHub 676d329948 Avoid incorrectly reusing assertion nodes from property assignments (#60576) 2024-12-04 12:04:14 -08:00
Gabriela Araujo BrittoandGitHub 6b1ea96b94 Fix flow node improper reuse (#60662) 2024-12-04 09:13:13 -08:00
Andrew BranchandGitHub 9bf5aa7fe2 Do not require import attributes for JSON imports in --module node16 (#60673) 2024-12-04 08:47:16 -08:00
Billy JanitschandGitHub 6f75783184 Fix library inclusions for ES2024 target (#60622) 2024-12-03 17:19:58 -05:00
Mateusz BurzyńskiandGitHub 14c65b3119 Check if switch statements are exhaustive when their expressions is generic with a literal type constraint (#60644) 2024-12-02 12:12:58 -08:00
Mateusz BurzyńskiandGitHub 97177722b8 Allow assignments to readonly class properties within IIFEs contained in constructors (#60416) 2024-12-02 11:15:47 -08:00
PsychpsyoandGitHub b263cc4b2e Improve the definition of atan2() (#60493) 2024-11-27 15:12:20 -08:00
Mateusz BurzyńskiandGitHub 9fe6c3661c Fixed syntactic nullisness semantics for tagged template expressions (#60616) 2024-11-26 15:17:29 -08:00
Isabel DuanandGitHub 96410eb655 fix missing react error with fragments in react-native (#60615) 2024-11-26 13:24:44 -08:00
Oleksandr T.andGitHub d85767abfd fix(60484): Implementing a prim type in a class expression should report error (#60490) 2024-11-19 19:45:22 -08:00
Oleksandr T.andGitHub d6b7c41fbc fix(60505): Convert to namespace import refactoring should drop file extensions on namespace name (#60510) 2024-11-19 19:42:16 -08:00
b3c67d3202 Move to file: fix detection of references to globals that shouldn't be moved (#60450)
Co-authored-by: Isabel Duan <isabelduan@microsoft.com>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2024-11-15 14:21:38 -08:00
Ben KraftandGitHub c043944b14 Let isolated declarations fixer add toplevel imports more (#60267) 2024-11-13 09:04:51 -08:00
Nathan Shively-SandersandGitHub 79ea5a5b35 Stub out copilotRelated command (#60488) 2024-11-13 08:33:00 -08:00
Titian Cernicova-DragomirandGitHub b58ac4abf2 Extract function types from function and arrow expressions. (#60234) 2024-11-11 10:15:29 -08:00
Oleksandr T.andGitHub ef802b1e4d feat(60312): Add missing properties for satisfies (#60314) 2024-11-08 09:48:13 -08:00
Ryan CavanaughandGitHub 55f1248a20 MetaProperty is possibly nullish (#60440) 2024-11-06 13:06:12 -08:00
Gabriela Araujo BrittoandGitHub 30979c2651 Narrow generic conditional and indexed access return types when checking return statements (#56941) 2024-11-05 18:18:24 -08:00
Mateusz BurzyńskiandGitHub 5e2e32120b Reuse cached resolved signatures early (#60208) 2024-11-05 17:16:37 -08:00
Gabriela Araujo BrittoandGitHub 8d95ac5968 Fix getEffectiveCheckNode (#60309) 2024-11-05 17:14:25 -08:00
Dirk LuijkandGitHub 60dd512a83 fix(60223): add Promise.try() to ESNext lib (#60232) 2024-11-05 17:14:02 -08:00
Gabriela Araujo BrittoandGitHub 80eeb4ec8d Proposed expandable hover API (#59940) 2024-11-05 16:41:13 -08:00
Jake BaileyandGitHub 9d7e087022 Remove cancellationToken.js (#60250) 2024-11-05 14:35:02 -08:00
Andrew BranchandGitHub 82a04b29b4 Fix false positive rewriteRelativeImportExtensions error on non-TS extensions (#60415) 2024-11-05 12:50:18 -08:00
Daniel RosenwasserandGitHub 131f673c20 Bump version to 5.8. (#60422) 2024-11-05 11:41:25 -08:00
Mateusz BurzyńskiandGitHub c09e2ab4ff Fixed syntactic nullisness semantics for comma expressions (#60402) 2024-11-04 12:43:30 -08:00
navya9singhandGitHub 0ec4d30a6e Fixing exception on unsaved file (#60362) 2024-11-02 22:55:36 -07:00
Ron BucktonandGitHub 11b2930fa2 Add compatible overloads that accept ArrayBuffer to BigInt64Array/BigUint64Array (#60391) 2024-11-01 16:47:09 -04:00
Joe PeaandGitHub 248c8f5f99 Fix incorrect details in lib.decorators (#60252) 2024-11-01 15:02:04 -04:00
Isabel DuanandGitHub 3e6171833e fix autoimports crash: generate namespace and other module symbol imports (#60333) 2024-10-31 17:03:12 -07:00
Mateusz BurzyńskiandGitHub 32513a7745 Fixed an accidental undefined leak into getAccessibleSymbolChain's cache key (#58669) 2024-10-31 15:18:27 -07:00
Mateusz BurzyńskiandGitHub e4dc78ab8c Fixed crash on class member completions with auto imports from merged ambient modules (#60340) 2024-10-31 13:47:38 -07:00
Mateusz BurzyńskiandGitHub 48f2ada110 Add string literal completions for package.json imports field (#57718) 2024-10-31 13:33:40 -07:00
Mateusz BurzyńskiandGitHub a271797c1a Use canHaveFlowNode in checkIfExpressionRefinesParameter (#58816) 2024-10-31 13:14:27 -07:00
Mateusz BurzyńskiandGitHub f478257f06 Remove unused SymbolLinks["bindingElement"] (#60385) 2024-10-31 13:14:17 -07:00