Commit Graph

  • abb4052f2f Always substitute indexed generic mapped type when getting constraint from indexed access (#53066) Mateusz Burzyński 2023-03-21 20:50:11 +01:00
  • 377c4ce32f Refactor config file syntax search to callback model instead of constructing arrays to iterate over (#53416) Sheetal Nandi 2023-03-21 11:23:36 -07:00
  • de31ebecea More explicit error message for function signature length mismatches (#51457) Kevin Gibbons 2023-03-21 09:09:22 -07:00
  • f218a562bf Update package-lock.json TypeScript Bot 2023-03-21 06:17:12 +00:00
  • b168b246b7 Make deeplyNestedTemplateLiteralIntersection run a little faster (#53401) Jake Bailey 2023-03-20 17:43:04 -07:00
  • f078ab0548 Avoid rewriting homomorphic mapped types with homomorphic instantiations (#53215) Mateusz Burzyński 2023-03-21 01:09:42 +01:00
  • e9836a4bec Ensure rest type for source parameter is readonly in relations (#53258) Jake Bailey 2023-03-20 16:18:52 -07:00
  • f43a4fe401 Fix resolving entity name of namespace member after alias is merged with type (#53387) Andrew Branch 2023-03-20 15:16:08 -07:00
  • acfb0b53d1 Make function properties context-sensitive based on their return statements (#50903) Mateusz Burzyński 2023-03-20 21:53:16 +01:00
  • 4fcb8b8be6 Consider all union types matching discriminator for excess property checks (#51884) Nebojša Cvetković 2023-03-20 20:50:23 +00:00
  • 3ba3ace236 Remove incorrect handling of intersections in getStringMappingType (#53383) Jake Bailey 2023-03-20 13:44:25 -07:00
  • 8814f6da48 Report error if commanline only option is specified in tsconfig (#53397) Sheetal Nandi 2023-03-20 13:26:04 -07:00
  • 79a414bb5e Consistently use '...args' for diagnostic args (#53193) Jake Bailey 2023-03-20 12:53:09 -07:00
  • 001aa99734 Fix crash when importsNotUsedAsValues is set alongside verbatimModuleSyntax (#53386) Wesley Wigham 2023-03-20 12:30:11 -07:00
  • af00915d71 Add missing ambient check to verbatimModuleSyntax export = error (#53385) Andrew Branch 2023-03-20 12:05:20 -07:00
  • 7a8238d88d Refactor config file parsing such that json and jsonSourceFile api use same paths (#53331) Sheetal Nandi 2023-03-20 12:00:08 -07:00
  • 3fab5fff34 Fixed issues with inference from nested tuple types of the same shape (#49226) Mateusz Burzyński 2023-03-20 19:18:08 +01:00
  • 9e1f0adf61 feat(25758): Computed properties no throws if there is a duplicate (#49848) Oleksandr T 2023-03-20 20:16:00 +02:00
  • 1ed06e6b05 Fixed an issue with not being able to use mapped type over union constraint as rest param (#49947) Mateusz Burzyński 2023-03-20 19:14:25 +01:00
  • 27aca613ff Remove random code from fourslash test (#53335) Jake Bailey 2023-03-20 11:13:06 -07:00
  • 56aa3d522b Normalize generic tuple types with Simplifiable elements (#52385) Mateusz Burzyński 2023-03-20 19:10:31 +01:00
  • a5e6dee6b2 Do not infer to mapped types from implied index signatures created by rest bindings (#52632) Mateusz Burzyński 2023-03-20 19:06:26 +01:00
  • 9901cf7daf Fix package-lock update task (#53336) Jake Bailey 2023-03-20 11:02:26 -07:00
  • 913f65c28d Remove most "import * as ts" imports, except for const enum reverse mapping and plugins (#53329) Jake Bailey 2023-03-20 10:50:40 -07:00
  • 41474f908c Change ParamaterDecorator to allow an undefined propertyKey (#53365) Daniel Hritzkiv 2023-03-20 13:47:51 -04:00
  • 86f8114404 Revert PR #53301 (#53366) Jake Bailey 2023-03-19 21:29:17 -07:00
  • d458e30a06 Rewrite getPropFromRaw slightly to surface T in the parameters (#53301) Mateusz Burzyński 2023-03-20 04:01:16 +01:00
  • 716b592e55 Revert fix for intersections in template literals, fix differently (#52836) Jake Bailey 2023-03-19 19:48:32 -07:00
  • b70784ef8f Improve detection of type variables in instantiated object types (#53246) Anders Hejlsberg 2023-03-19 08:13:57 -07:00
  • 9b7f291a33 Improve contextual typing of ending tuple elements (#53036) Anders Hejlsberg 2023-03-19 08:13:03 -07:00
  • 905a0b4e69 Create baselines for tsserver event tests (#53330) Sheetal Nandi 2023-03-17 16:56:01 -07:00
  • bf369f1b95 Fix missing reference in js (#50509) (#53000) gu 2023-03-18 06:51:11 +08:00
  • b7b0b52d68 Disallow instantiation expressions on the right side of instanceof (#53323) Jake Bailey 2023-03-17 15:32:00 -07:00
  • b1ef5b79f7 Convert config file parsing tests to baseline for easier future update verification and adds missing location verification (#53324) Sheetal Nandi 2023-03-17 12:58:55 -07:00
  • f473058361 Allow implicit return with explicit undefined return type (#53092) Kagami Sascha Rosylight 2023-03-17 20:08:01 +01:00
  • a70c4095db Fast path for negative case when relating to unions of primtives (#53192) Anders Hejlsberg 2023-03-17 08:10:48 -07:00
  • ba42ad3646 Bump TS devDep to ^5.0.2 (#53299) Jake Bailey 2023-03-16 20:46:09 -07:00
  • b8c71685f9 Add an extra test case related to return statements and annotated return types (#52628) Mateusz Burzyński 2023-03-16 22:58:03 +01:00
  • da8dfbf0ff Set minimal workflow permissions (#53297) Pedro Nacht 2023-03-16 17:19:40 -03:00
  • c797bd2f5f Skip asking for jsdoc in checkObjectLiteral for enums in TS (#53117) Jake Bailey 2023-03-16 13:14:54 -07:00
  • a6ba2e735d Collect contravariant-only inference candidates from shorter annotated functions (#52609) Mateusz Burzyński 2023-03-16 19:00:36 +01:00
  • 377fe1f34f Fix esDecorators evaluation test on Node 16+ (#53175) Jake Bailey 2023-03-16 10:32:28 -07:00
  • cfd550e397 Avoid bogus circularity error on context sensitive expando assingment (#50487) Zzzen 2023-03-17 01:12:23 +08:00
  • e0124040f0 Revert PR #52589 (#53280) Jake Bailey 2023-03-16 09:59:02 -07:00
  • ed568e20f1 Temporary commit to show an external implementation of declaration emit. isolated-declarations-shared Titian Cernicova-Dragomir 2023-03-16 13:47:03 +00:00
  • 17e7807089 Fix duplicate file name in tests. Titian Cernicova-Dragomir 2023-03-16 12:59:54 +00:00
  • 7f292bf2a1 Revert PR #51580 (#53283) Jake Bailey 2023-03-15 20:19:23 -07:00
  • 3ec598c947 Update LKG v5.0.2 TypeScript Bot 2023-03-15 23:58:05 +00:00
  • a727ca1571 Make perfLogger potentially undefined rather than using a noop logger (#53229) Jake Bailey 2023-03-15 15:58:26 -07:00
  • 0e765ac48d 🤖 Pick PR #53268 (fix(53204): Bug: __runInitializers(...) into release-5.0 (#53273) TypeScript Bot 2023-03-15 15:39:00 -07:00
  • 63495beb1a Fixed an issue with spreading a spreadable generic expression into generic JSX (#51580) Mateusz Burzyński 2023-03-15 22:57:37 +01:00
  • 7a65c341ce fix(53204): Bug: __runInitializers(this) is emitted before super() call (#53268) Oleksandr T 2023-03-15 21:59:19 +02:00
  • dfa30bbe2a Ensure moduleType is structured during cloneTypeAsModuleType (#51136) Jake Bailey 2023-03-15 12:56:11 -07:00
  • 074bf34633 Do not resolve apparent type of mapped types with a tuple constraint (#52651) Mateusz Burzyński 2023-03-15 18:46:12 +01:00
  • eb6aaea86e Fixed symbol declarations for generic filtering mapped types (#53207) Mateusz Burzyński 2023-03-15 18:43:45 +01:00
  • 78089b4964 Add intra expression inference sites based on JSX attributes (#52837) Mateusz Burzyński 2023-03-15 18:42:40 +01:00
  • 2b9d792828 Fix #33569 - Enable declaration emit for late-bound function members (#53034) Wesley Wigham 2023-03-15 10:20:35 -07:00
  • 9ccf47fec5 Move smoke test package script into scripts (#53245) Jake Bailey 2023-03-14 15:27:07 -07:00
  • cb69c8a717 Update LKG TypeScript Bot 2023-03-14 21:26:18 +00:00
  • d97bb67c0a 🤖 Pick PR #53174 (Remove old references to Node v4, s...) into release-5.0 (#53189) TypeScript Bot 2023-03-14 14:15:54 -07:00
  • 9769421a63 Defer resolution of indexed access types with reducible object types (#53098) Anders Hejlsberg 2023-03-14 14:15:32 -07:00
  • 6e598742e7 🤖 Pick PR #53240 (Allow 'verbatimModuleSyntax' with t...) into release-5.0 (#53253) TypeScript Bot 2023-03-14 13:26:22 -07:00
  • ae1b3db8ce Allow 'verbatimModuleSyntax' with transpileModule (#53240) Ron Buckton 2023-03-14 16:03:43 -04:00
  • 2378c0b65e fix(53242): Wrong error message when defined abstract property in non-abstract class (#53251) Oleksandr T 2023-03-14 20:10:40 +02:00
  • e08a2db86d Enable corepack in CI (#53152) Jake Bailey 2023-03-14 09:59:46 -07:00
  • 2953bcdf2e Add an extra test case for mapped type relationships (#53232) Mateusz Burzyński 2023-03-14 17:48:05 +01:00
  • 5a4d5e1977 Test and LKG before push in dep bump (#53151) Jake Bailey 2023-03-14 09:29:04 -07:00
  • edc343d733 Add custom GHA report for package size (#53241) Jake Bailey 2023-03-14 09:23:51 -07:00
  • 9dfd5ea221 Bump TS devDep to 5.0 RC to fix eslint (#53243) Jake Bailey 2023-03-14 08:30:19 -07:00
  • bbb8348c25 Update package-lock.json TypeScript Bot 2023-03-14 06:07:21 +00:00
  • e1488fe915 Don't recommend installing typescript package globally in README (#53209) Jake Bailey 2023-03-13 13:07:58 -07:00
  • 29d11008f6 Fix tests. Titian Cernicova-Dragomir 2023-03-13 14:05:18 +00:00
  • 3eeef8db4b Fix lint errors. Titian Cernicova-Dragomir 2023-03-13 13:12:04 +00:00
  • 77bdaa2be7 Added extra restrictions to declaration emit in isolated declaration mode. Titian Cernicova-Dragomir 2023-03-13 11:30:02 +00:00
  • e2d5a00c1e added isolated declarations flag. Titian Cernicova-Dragomir 2022-06-02 11:47:11 +03:00
  • ac60ca7f78 Update package-lock.json TypeScript Bot 2023-03-13 06:07:19 +00:00
  • 32d2253e37 Update package-lock.json TypeScript Bot 2023-03-12 06:06:28 +00:00
  • 041b0db8f4 Update package-lock.json TypeScript Bot 2023-03-11 06:06:19 +00:00
  • 9a8badd238 Bump version to 5.0.2 and LKG TypeScript Bot 2023-03-11 00:09:47 +00:00
  • a5484aebf8 🤖 Pick PR #53139 (Make ModuleResolutionKind.Node10 ch...) into release-5.0 (#53143) TypeScript Bot 2023-03-10 15:53:10 -08:00
  • 46d70d79cd When resolving type reference from custom typeRoot localtion use mangled scope name if the package is scoped name (#53166) Sheetal Nandi 2023-03-10 09:58:41 -08:00
  • 42d23390e2 Remove declares in sys, core, evaluatorImpl (#53176) Jake Bailey 2023-03-10 09:57:32 -08:00
  • e7753831e9 Filter out non-array types when contextually typing array literal elements (#52589) Mateusz Burzyński 2023-03-10 18:34:03 +01:00
  • a8ffab2f30 Update package-lock.json TypeScript Bot 2023-03-10 06:07:07 +00:00
  • 29c4b5e231 Fix build watch task in tasks.json post-LKG removal (#53190) Jake Bailey 2023-03-09 16:35:17 -08:00
  • 23455b4aab Cherry-pick #52993 to release-5.0 (#53142) Jake Bailey 2023-03-09 16:07:26 -08:00
  • ddcbd9ffbd Remove old references to Node v4, small cleanup of node version stuff (#53174) Jake Bailey 2023-03-09 14:32:15 -08:00
  • 7898cc1866 Set package.json minimum to Node 12.20 (#53183) Jake Bailey 2023-03-09 14:27:13 -08:00
  • f7f44da064 🤖 Pick PR #53183 (Set package.json minimum to Node 12...) into release-5.0 (#53186) TypeScript Bot 2023-03-09 14:26:44 -08:00
  • 39d9fdce6c Fix ThirdPartyNoticeText.txt encoding (#53184) Jake Bailey 2023-03-09 13:05:02 -08:00
  • bb566f9977 DOM update 2023-03-07 (#53133) Nathan Shively-Sanders 2023-03-09 11:00:11 -08:00
  • 0e3e14d39e fix(52992): no add missing properties quick for nested object literal (#53004) Oleksandr T 2023-03-09 20:00:55 +02:00
  • 2ab9e7edd9 fix(53011): Illegal declaration file can be emitted (duplicate parameter names) when spreading tuples into parameter positions (#53028) Oleksandr T 2023-03-09 19:47:49 +02:00
  • d681520a14 Fixed array expression spreads into variadic const calls (#52845) Mateusz Burzyński 2023-03-08 23:45:58 +01:00
  • 615a97b1d4 Add an extra test for excess property check for intersection containing a recursive type (#53100) Mateusz Burzyński 2023-03-08 21:34:47 +01:00
  • 74a37f8203 Fix(49702): LS crash in binder for module in a JS file (#52537) navya9singh 2023-03-08 09:42:18 -08:00
  • 0ce551752d check computed property names in overloads (#52427) Zzzen 2023-03-09 01:20:33 +08:00
  • 746a6feb2e Fix smoke test failure due to bad git restore post-LKG-deletion (#53156) Jake Bailey 2023-03-07 17:15:10 -08:00
  • 6e4f0a430e Fix string completions depending on contextual signatures (#52717) Mateusz Burzyński 2023-03-08 01:42:16 +01:00
  • f555ad73db Fix property completion in unions of object types and string mappings (#52767) Mateusz Burzyński 2023-03-08 01:36:37 +01:00