Commit Graph

  • 577cc1bd8a fix(52233): Ambient modules declared with patterns are offered in path completions (#52246) Oleksandr T 2023-01-17 19:41:16 +02:00
  • 243d8de66d Update package-lock.json TypeScript Bot 2023-01-17 06:06:28 +00:00
  • 67a3846fbf Fix replacementSpan for class member snippet completion entries (#52231) Gabriela Araujo Britto 2023-01-16 15:32:24 -03:00
  • 4ba756fdc8 Update package-lock.json TypeScript Bot 2023-01-15 06:06:21 +00:00
  • 8586c995b5 Update package-lock.json TypeScript Bot 2023-01-14 06:06:33 +00:00
  • cb4c7689e6 Add Array.prototype.findLast() and Array.prototype.findLastIndex() (#49636) Mykola Basov 2023-01-13 23:35:50 +00:00
  • 86ccd20e53 fix(52212): No member completions, and irrelevant value completions, when class property initializer has no semicolon (#52213) Oleksandr T 2023-01-14 00:23:36 +02:00
  • 41e4139357 Only used cached undefined contextual type for requests with no flags (#52224) Anders Hejlsberg 2023-01-13 10:10:56 -08:00
  • d6de73b20a Instantiate rest type as needed in getNarrowedTypeOfSymbol (#52215) Anders Hejlsberg 2023-01-13 07:23:39 -08:00
  • 36e9570933 Propagate constness of type parameters in variadic tuples (#52129) Anders Hejlsberg 2023-01-13 07:23:04 -08:00
  • ef58695fbc Update package-lock.json TypeScript Bot 2023-01-13 06:06:33 +00:00
  • ef81c80482 Bump LKG and package.json to 5.0.0-dev.20230112 (#51787) Jake Bailey 2023-01-12 19:17:37 -08:00
  • 3e9703f126 Add additional diagnostic for packages that only resolve under non-exports-respecting modes (#52173) Andrew Branch 2023-01-12 16:30:35 -08:00
  • 9cdba994ac Remove some properties from Identifier (#52170) Ron Buckton 2023-01-12 17:20:12 -05:00
  • 59e4e38d08 Don't widen when type parameter occurs at top level in type predicate (#52031) Anders Hejlsberg 2023-01-12 11:18:36 -10:00
  • 5b4a8d4134 Update package-lock.json TypeScript Bot 2023-01-12 06:06:37 +00:00
  • 6c494e9d09 Fix bad baseline on main (#52201) Jake Bailey 2023-01-11 16:54:23 -08:00
  • 9da2a9aa84 Fix inferences between alias type arguments and defaulted alias type arguments (#51771) Wesley Wigham 2023-01-11 15:28:53 -08:00
  • 6860373c1a fix(52177): Wrong space in type assertions when using array (#52184) Oleksandr T 2023-01-12 00:59:22 +02:00
  • a05b7ec01f Update package-lock.json TypeScript Bot 2023-01-11 06:06:50 +00:00
  • 28e4c81794 Tweak co/contra inference logic from #52123 (#52180) Jake Bailey 2023-01-10 17:08:36 -08:00
  • 14b0d6d4bf Fix nested package json lookup in modes that respect package.json exports (#51995) Andrew Branch 2023-01-10 16:18:26 -08:00
  • b3eca6883c Suppress resolvedUsingTsExtension during loadModuleFromDirectory (#52189) Jake Bailey 2023-01-10 16:05:44 -08:00
  • 3da4886c76 Fixed an issue with quickInfo crashing on a function property returned from generic function (#49049) Mateusz Burzyński 2023-01-11 01:05:01 +01:00
  • ec9f6a428b Ensure self-name resolution uses same extension priorities as external imports (#52185) Andrew Branch 2023-01-10 13:57:50 -08:00
  • 32da8a2856 Add a test for indexed access on generic mapped type (#52069) Mateusz Burzyński 2023-01-10 22:46:20 +01:00
  • 48b6b8b1d9 Add a regression test for mapped type with as clause that bypassed interface extension check (#52070) Mateusz Burzyński 2023-01-10 22:45:38 +01:00
  • 67cdaf9215 Fixed crash when reporting infer extends on invalid name with declaration (#52032) Josh Goldberg 2023-01-10 16:11:24 -05:00
  • 94afa32925 Add an extra test case for circular base type (#52071) Mateusz Burzyński 2023-01-10 22:04:58 +01:00
  • 2082ef2e3f fix narrowTypeByDiscriminant for non null expression access (#52136) Gabriela Araujo Britto 2023-01-10 14:49:13 -03:00
  • 280e3ac85e Update package-lock.json TypeScript Bot 2023-01-10 06:06:48 +00:00
  • 89e928e8b4 Add --allowArbitraryExtensions, a flag for allowing arbitrary extensions on import paths (#51435) Wesley Wigham 2023-01-09 17:12:42 -08:00
  • 9b718d0a70 Add tests for excess property check for intersection containing a recursive type (#52063) Mateusz Burzyński 2023-01-10 01:02:17 +01:00
  • 6bedd1c227 Allow indirect calls (#51989) Stephen Hicks 2023-01-09 18:56:33 -05:00
  • 394a777fdd fix(51963): Invalid property read for find-all-references when exporting non-existent binding (#52006) Oleksandr T 2023-01-10 01:29:33 +02:00
  • bb5edf1a1d Reduce instance size of Identifier id-cleanup-2 Ron Buckton 2023-01-09 16:12:56 -05:00
  • f326cbfb2e Add a test for optional members completions within an object within an index signature constraint (#52149) Mateusz Burzyński 2023-01-09 20:06:07 +01:00
  • 2c1fda249f Fixed false positive circular errors for await expressions with simple non-generic calls in CFA loops (#51126) Mateusz Burzyński 2023-01-09 19:56:52 +01:00
  • 00567618bd Reuse existing module specifiers in js declaration emit (#52089) Wesley Wigham 2023-01-09 10:15:42 -08:00
  • 11bc7b758d Issue error on export= in esm mode declaration file (#52109) Wesley Wigham 2023-01-09 10:15:23 -08:00
  • 4b69e1342e Basic JSX attribute snippet fixes (#51855) Vitaly 2023-01-09 20:13:27 +03:00
  • fdb5dc56b0 Update package-lock.json TypeScript Bot 2023-01-09 06:06:33 +00:00
  • 83e8de85ce Update package-lock.json TypeScript Bot 2023-01-08 06:06:15 +00:00
  • 12718ad88e Update package-lock.json TypeScript Bot 2023-01-07 06:06:11 +00:00
  • 90fb764a0f Fix private name generation and missing emit for auto-accessors (#52132) Ron Buckton 2023-01-06 21:08:51 -05:00
  • f1ff0de943 Use native generators/iterables, remove helper cruft (#51921) Jake Bailey 2023-01-06 14:40:56 -08:00
  • e60c210c57 Improve JSX invalid children type error (#52105) Gabriela Araujo Britto 2023-01-06 15:26:53 -03:00
  • 400e2c2bd8 Defer conditional types with multi-element tuple types in extends clause (#52091) Anders Hejlsberg 2023-01-06 07:18:12 -10:00
  • fc8538608b Improve logic that chooses co- vs. contra-variant inferences (#52123) Anders Hejlsberg 2023-01-06 05:56:51 -10:00
  • 4b52d3a61a Update package-lock.json TypeScript Bot 2023-01-06 06:06:27 +00:00
  • bfeb927d43 Remove Push from public API (#52122) Jake Bailey 2023-01-05 16:18:53 -08:00
  • 91822db8e0 Remove doc folder (old archived spec and assets), word2md script (#51791) Jake Bailey 2023-01-05 13:49:00 -08:00
  • c57fea2a0d fix(52050): The space before satisfies after an array expression is removed when auto-formatting the statements (#52053) Oleksandr T 2023-01-05 23:30:11 +02:00
  • aae3115838 Call getTypeOfSymbol in getNarrowedTypeOfSymbol to avoid running into circularities when computing types (#51914) Gabriela Araujo Britto 2023-01-05 18:12:56 -03:00
  • 3c7660a37b Make Collection and ReadonlyCollection internal (#51964) Jake Bailey 2023-01-05 10:22:32 -08:00
  • bae715fca2 Update package-lock.json TypeScript Bot 2023-01-05 06:06:06 +00:00
  • 4378441e0c fix(51198): The 'this' context of type 'T' is not assignable to method's 'this' of type 'this' (#51216) Oleksandr T 2023-01-04 22:05:19 +02:00
  • f43cd0acca Add RegExp indices and hasIndices (#52085) Ron Buckton 2023-01-03 15:20:10 -05:00
  • 31d1d63fc8 Infer fixed-size tuples from infer type parameters with extends clauses at variadic positions (#51157) Mateusz Burzyński 2023-01-03 19:18:09 +01:00
  • 1a943d7b68 Update package-lock.json TypeScript Bot 2023-01-03 06:06:24 +00:00
  • eb3d6faa56 Update package-lock.json TypeScript Bot 2023-01-02 06:06:33 +00:00
  • 747172e649 Update package-lock.json TypeScript Bot 2022-12-31 06:06:49 +00:00
  • e9cd2e14db Allow forward references in computed properties of type declarations (#50824) Mateusz Burzyński 2022-12-30 20:37:33 +01:00
  • 79244c578f remove unused node flag (#52052) Oleksandr T 2022-12-30 18:57:33 +02:00
  • 44152bc22e fix(29648): Error message related to JSDoc for non-JSDoc syntax error (#50793) Oleksandr T 2022-12-30 02:50:57 +02:00
  • ba393b6b9f fix(51760): Nullish-coalescing assignment narrows type to assigned value (#51767) Oleksandr T 2022-12-30 02:36:59 +02:00
  • c7f49bceed Add undefined to JSON.stringify return type (#51897) ronyhe 2022-12-28 19:06:03 +02:00
  • df6881725c Update package-lock.json TypeScript Bot 2022-12-28 06:06:36 +00:00
  • 68df4befd6 Update package-lock.json TypeScript Bot 2022-12-27 06:06:39 +00:00
  • acf854b636 Keep track of multiple current inference contexts (#51978) Anders Hejlsberg 2022-12-22 09:52:49 -08:00
  • 54a554d8af Update package-lock.json TypeScript Bot 2022-12-21 06:06:30 +00:00
  • 8b6f8730c1 fix(51223): Go-to-definition for yield and await keyword; jump to respective function definition (#51838) Andreas Buob 2022-12-20 22:29:59 +01:00
  • e73a51d5d7 fix(51820): disallow using readonly and declare with auto-accessor (#51824) Oleksandr T 2022-12-20 23:25:33 +02:00
  • 6f4d340458 fix(51716): find all references in imported JSDoc types (#51729) Oleksandr T 2022-12-20 23:16:17 +02:00
  • cf68a12d69 Improve string literal completions for property values when a partially-typed string fixes inference to a type parameter (#51770) Mateusz Burzyński 2022-12-20 22:08:55 +01:00
  • 5d8ef4bdcb Update package-lock.json TypeScript Bot 2022-12-20 06:06:31 +00:00
  • 714d7341cf --moduleResoltuion bunlder: Allow import assignment in ambient contexts (#51971) Andrew Branch 2022-12-19 17:03:50 -08:00
  • 5951ee9cff feat(48665): tsconfig "extends" field ignores "exports" field of source package (#50955) Oleksandr T 2022-12-20 02:40:12 +02:00
  • 0f5e037e1d pass isSingle quote preference when building string literal (#51968) Gabriela Araujo Britto 2022-12-19 20:39:39 -03:00
  • eb1e257072 Support outlining in multiline import/export decls (#51937) Ron Buckton 2022-12-19 18:22:43 -05:00
  • ef70a289b8 Go back to using explicit node verisons in CI (#51965) Jake Bailey 2022-12-19 15:20:06 -08:00
  • 70ee780785 Update package-lock.json TypeScript Bot 2022-12-18 06:06:23 +00:00
  • c6ffac91c3 Remove baseNodeFactory Ron Buckton 2022-12-17 13:37:01 -05:00
  • 02d5b23aae Allow const modifiers on class expression type parameters (#51935) Anders Hejlsberg 2022-12-17 10:32:27 -08:00
  • 4932c8788b Update package-lock.json TypeScript Bot 2022-12-17 06:06:43 +00:00
  • cadf6e8899 Remove objectAllocator Ron Buckton 2022-12-16 18:08:10 -05:00
  • fede84e85b const modifier on type parameters (#51865) Anders Hejlsberg 2022-12-16 13:47:10 -08:00
  • 2484390af8 Added override keyword to codefix implemented abstract methods (#51033) Josh Goldberg 2022-12-16 14:59:21 -05:00
  • 193a8a74c8 skip optional parameters in js files (#51924) Oleksandr T 2022-12-16 21:51:41 +02:00
  • 645b3ddb06 fix(51920): skip TypeScript types in js files (#51922) Oleksandr T 2022-12-16 20:35:35 +02:00
  • 20f3060da5 Add JSDocOverloadTag to ForEachChildTable (#51907) Oleksandr T 2022-12-16 18:41:32 +02:00
  • ba793e6069 Fix excess property checking for intersections with index signatures (#51894) Anders Hejlsberg 2022-12-16 06:59:23 -08:00
  • 3b862b6ef5 Move services Node classes to compiler Ron Buckton 2022-12-15 22:52:54 -05:00
  • 1df98f924f Refactor node constructors in utilities to be classes Ron Buckton 2022-12-15 16:50:14 -05:00
  • ff919e3b76 Remove isJSDocOptionalParameter and isOptionalDeclaration from public API (#51908) Oleksandr T 2022-12-15 21:45:17 +02:00
  • 44e8244dd9 Move auto-generated identifier info into separate object (#51900) Ron Buckton 2022-12-15 13:59:57 -05:00
  • fe185272cf feat(51000) - Flag Deprecation Plan (#51424) Oleksandr T 2022-12-15 20:44:06 +02:00
  • e0bfac531b Rename module resolution option node to node10 (preserving backward-compatible alias) (#51901) Andrew Branch 2022-12-15 10:07:33 -08:00
  • 2993ea8eaa Monomorphic Symbol access (#51880) Ron Buckton 2022-12-15 10:44:24 -05:00
  • b9aa8a4096 Update package-lock.json TypeScript Bot 2022-12-15 06:06:25 +00:00