Commit Graph
4569 Commits
Author SHA1 Message Date
Gabriela Araujo BrittoandGitHub c3ae7c418f Revert return type narrowing (#61136) 2025-02-07 10:55:34 -08:00
Wesley WighamandGitHub caf1aee269 Computed names in declarations files are resolved even when non-literal, preserve computed names when expressions are entity names (#60052) 2025-01-24 11:44:54 -08:00
Jake BaileyandGitHub 220706eb03 Add new option "libReplacement" (#60829) 2025-01-23 17:34:52 -08:00
uhyoandGitHub 0e371c4bf5 fix: do not use JSX.ElementChildrenAttribute under jsx: react-jsx or jsx: react-jsxdev (#60880) 2025-01-23 16:03:08 -08:00
2c865e461e --erasableSyntaxOnly (#61011)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2025-01-23 15:56:35 -08:00
Mateusz BurzyńskiandGitHub efe07a0921 Narrow types by satisfies expressions (#60782) 2025-01-22 13:44:58 -08:00
Mateusz BurzyńskiandGitHub 7f802bbca2 Fixed an issue with for statement's incrementor missing continue's control flow information (#60950) 2025-01-22 11:40:58 -08:00
Ron BucktonandGitHub df54a3d6b4 Add non-generic fallback overloads for TypedArray constructors (#60934) 2025-01-09 16:28:50 -05:00
Mateusz BurzyńskiandGitHub a5196c7d3b Narrow types by typeof operands with extra parenthesis (#60928) 2025-01-07 12:26:00 -08:00
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
Andrew BranchandGitHub f69580f821 Add --module node18 (#60722) 2024-12-13 10:16:23 -08:00
Isabel DuanandGitHub 3d2b8f33d4 Remove reference not found errors from jsx: preserve (#60687) 2024-12-09 10:38:37 -08:00
Mateusz BurzyńskiandGitHub 9ef98be517 Add extra test cases for fixed reportNonexistentProperty crashes (#60690) 2024-12-05 09:21:08 -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
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
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
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
Titian Cernicova-DragomirandGitHub b58ac4abf2 Extract function types from function and arrow expressions. (#60234) 2024-11-11 10:15:29 -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
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
Mateusz BurzyńskiandGitHub c09e2ab4ff Fixed syntactic nullisness semantics for comma expressions (#60402) 2024-11-04 12:43:30 -08:00
Ron BucktonandGitHub 11b2930fa2 Add compatible overloads that accept ArrayBuffer to BigInt64Array/BigUint64Array (#60391) 2024-11-01 16:47:09 -04:00
Oleksandr T.andGitHub db8eacd7e2 fix(59397): JsDoc is missing/duplicated in declarations for overloads declared in classes declared in functions (#59675) 2024-10-23 11:34:23 -07:00
Oleksandr T.andGitHub 241a6c9589 fix(55168): Computed properties do not respect setter signatures (#55178) 2024-10-22 13:10:55 -07:00
Ron BucktonandGitHub e25abe34ae Error on too many parameters for iterator method (#60321) 2024-10-22 16:00:58 -04:00
Mateusz BurzyńskiandGitHub c07da583af Disallow type and interface declarations in statements with blockless bodies (#60183) 2024-10-18 09:24:33 -07:00
03c5a37cfb Allow auto accessor types to be inferred from their flow types in constructors and static blocks (#59732)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-10-15 20:52:12 -04:00
Andrew BranchandGitHub 31de163db7 Do not mark #imports and self-name imports as external library imports in module resolution (#60228) 2024-10-15 10:53:32 -07:00
Ron BucktonandGitHub 40caf34319 Fix decorator emit crash (#60224) 2024-10-14 17:45:23 -04:00
c003609d59 Assume that type node annotations resolving to error types can be reused (#60195)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-10-11 16:13:39 -07:00
Mateusz BurzyńskiandGitHub f53d6dda5d Avoid confusing TS9025 error in isolatedDeclarations (#60129) 2024-10-11 15:42:28 -07:00
Titian Cernicova-DragomirandGitHub 476e9ee201 Extract node type printer (#59282) 2024-09-30 09:19:42 -07:00
Isabel DuanandGitHub f6d2e73c5a add jsx fragments to callLikeExpression (#59933) 2024-09-27 15:16:29 -07:00
Ron BucktonandGitHub 25ab551a12 Report implict any error when widening null/undefined in presence of … (#59661) 2024-09-26 17:06:57 -04:00
Wesley WighamandGitHub 3ad0f75248 Fix occasional silent error emit for JSDoc declaration emit and overzealous node serialization of jsdoc optional parameters. (#60034) 2024-09-25 15:40:10 -07:00
Mateusz BurzyńskiandGitHub 55886a1e24 Fixed incorrect SignatureFlags.HasRestParameter propagation when combining signatures (#58440) 2024-09-25 13:21:41 -07:00
Ron BucktonandGitHub e5758ab8b1 Make typed arrays generic over ArrayBufferLike (#59417) 2024-09-24 12:17:59 -04:00
Wesley WighamandGitHub fa0080f480 Support interpreting non-literal computed properties in classes as implicit index signatures (#59860) 2024-09-23 11:09:06 -07:00
Wesley WighamandGitHub e24cc01b08 Cache instantiation expression types early enough to prevent reentrancy during printback (#59931) 2024-09-23 10:46:57 -07:00
Ron BucktonandGitHub f39fe7dbe6 Support importHelpers with module:preserve (#59852) 2024-09-05 17:48:39 -04:00
Mateusz BurzyńskiandGitHub 29d92edd1c Revert "Allow variance annotations on generic references (#56418)" (#59793) 2024-09-03 16:08:13 -07:00
Mateusz BurzyńskiandGitHub fe2cb8ebaa Add missing index parameter to the Array.fromAsync's mapFn (#59837) 2024-09-03 10:18:18 -07:00