Commit Graph

  • ef4f419e96 Revert "Use NonNullable<T> in more scenarios (#49330)" revert-49330-nullableImprovements Daniel Rosenwasser 2022-06-03 12:35:16 -07:00
  • cb1bc6169b Move legacy decorators into separate transform (#48669) Ron Buckton 2022-06-03 09:36:29 -07:00
  • 8f0741da8e Merge branch 'main' into server-vfs-support Nathan Shively-Sanders 2022-06-03 08:51:42 -07:00
  • 27b0e82c1b fix lint Nathan Shively-Sanders 2022-06-03 08:51:36 -07:00
  • 3ccbe804f8 Expose import mode calculation functions (#49360) Wesley Wigham 2022-06-02 18:06:50 -07:00
  • e5050bb405 Bump version to 4.7.3 and LKG v4.7.3 TypeScript Bot 2022-06-03 01:02:45 +00:00
  • 4c4c80322a 🤖 Pick PR #49360 (Expose import mode calculation func...) into release-4.7 (#49370) TypeScript Bot 2022-06-02 17:47:14 -07:00
  • 3ce08c6ba1 fix(49223): checker.getTypeAtLocation for ExpressionWithTypeArguments returns an error any type (#49284) (#49369) Daniel Rosenwasser 2022-06-02 17:46:48 -07:00
  • 9c8e6b53b8 fix(49223): checker.getTypeAtLocation for ExpressionWithTypeArguments returns an error any type (#49284) Oleksandr T 2022-06-03 03:28:36 +03:00
  • 3bf0d30686 Pick PR #49356 (Add nightly-only error on ImportType resolution mode assertion) into release-4.7 (#49365) Andrew Branch 2022-06-02 16:25:52 -07:00
  • 5f7f0b1d57 Cherry-pick PR #49361 into release-4.7 (#49364) TypeScript Bot 2022-06-02 16:25:30 -07:00
  • 34fe835f33 Add nightly-only error on ImportType resolution mode assertion (#49356) Andrew Branch 2022-06-02 15:50:44 -07:00
  • 19b22844d8 Use node's algorithm for calculating the longest matching export/import pattern (#49361) Wesley Wigham 2022-06-02 15:43:26 -07:00
  • c07d883428 Cherry-pick PR #49313 into release-4.7 (#49359) TypeScript Bot 2022-06-02 15:42:13 -07:00
  • 2cb8ee27f0 fix(48653): throw an error on an invalid optional chain from new expression (#48656) Oleksandr T 2022-06-03 00:21:36 +03:00
  • c6447f9454 fix(49306): add isImportTypeAssertionContainer helper (#49313) Oleksandr T 2022-06-03 00:07:03 +03:00
  • ce9b4c1d5b Update package-lock.json TypeScript Bot 2022-06-02 06:06:32 +00:00
  • f3d57ccea8 Remove undefined from source type of renaming destructuring assignment with default (#41042) uhyo 2022-06-02 07:34:37 +09:00
  • 197aaef55f Cherry-pick PR #49246 into release-4.7 (#49250) TypeScript Bot 2022-06-01 15:21:09 -07:00
  • 35519356ed Cherry-pick PR #49268 into release-4.7 (#49276) TypeScript Bot 2022-06-01 15:20:33 -07:00
  • 4e91c6cb08 🤖 Pick PR #49341 (Fix check in isMappedTypeGenericInd...) into release-4.7 (#49342) TypeScript Bot 2022-06-01 15:20:13 -07:00
  • b24b05b5af Cherry-pick PR #49327 into release-4.7 (#49329) TypeScript Bot 2022-06-01 10:43:06 -07:00
  • 1beb1037c0 Fix check in isMappedTypeGenericIndexedAccess (#49341) Anders Hejlsberg 2022-06-01 10:01:56 -07:00
  • 9031497b92 Update package-lock.json TypeScript Bot 2022-06-01 06:10:42 +00:00
  • 3cdb8081f7 Use NonNullable<T> in more scenarios (#49330) Anders Hejlsberg 2022-05-31 17:05:33 -07:00
  • 75f4e95e85 Fix46246 (#46357) Harsheet Kakar 2022-06-01 05:17:07 +05:30
  • 44b9745942 fix(49151): format type parameters/arguments (#49165) TRCYX 2022-06-01 07:03:17 +08:00
  • bf5acb5c4d Issue serialization error when attempting to serialize a late-bound name from a mapped type (#49221) Wesley Wigham 2022-05-31 15:36:13 -07:00
  • 3da165e3df fix(49178): check expression with type arguments in inlay hints (#49179) Oleksandr T 2022-06-01 01:22:16 +03:00
  • a5b1f95c23 Allow accessors to override non-class or abstract properties (#41994) Nathan Shively-Sanders 2022-05-31 14:51:08 -07:00
  • 39f5dbff43 Fix index fallback of CJS package from ESM-mode import when main is present but does not resolve (#49327) Andrew Branch 2022-05-31 14:10:17 -07:00
  • 0e0526774a Merge branch 'main' into server-vfs-support Nathan Shively-Sanders 2022-05-31 12:04:13 -07:00
  • 4bd683b7c7 Add tests Nathan Shively-Sanders 2022-05-31 11:59:25 -07:00
  • 3939b38aa1 fixes #48630 array binding pattern with only OmittedExpressions does not check RHS of for-of loop (#49008) bentongxyz 2022-06-01 02:06:19 +08:00
  • 7baaf7be1c Update package-lock.json TypeScript Bot 2022-05-31 06:07:27 +00:00
  • 6cda20d61f Update package-lock.json TypeScript Bot 2022-05-30 06:07:25 +00:00
  • fa364b85d0 LEGO: Merge pull request 49300 csigs 2022-05-29 04:17:15 -07:00
  • 80832a8d08 Update package-lock.json TypeScript Bot 2022-05-29 06:06:26 +00:00
  • 0d9a9dc75d Update package-lock.json TypeScript Bot 2022-05-28 06:06:51 +00:00
  • 51b346d65a Improve intersection reduction and CFA for truthy, equality, and typeof checks (#49119) Anders Hejlsberg 2022-05-27 14:02:54 -07:00
  • ba4525202e More specific inference for constrained 'infer' types in template literal types (#48094) Ron Buckton 2022-05-27 11:05:24 -07:00
  • 38631e6412 fix(30003): formatter deletes comment after trailing comma (#49168) TRCYX 2022-05-28 01:09:52 +08:00
  • 917ff003e2 Mechanical changes from PR Nathan Shively-Sanders 2022-05-27 09:59:41 -07:00
  • 757a3acbde Port #48978 forward to the revised FAR code (#49267) Andrew Casey 2022-05-27 09:52:20 -07:00
  • 46e53016e4 Update package-lock.json TypeScript Bot 2022-05-27 06:07:28 +00:00
  • 67673f324d moduleDetection: auto makes cjs files parse as modules, module: node sets moduleDetection: force (#49268) Wesley Wigham 2022-05-26 16:49:55 -07:00
  • 6e0328af6a Cherry-pick PR #49252 into release-4.7 (#49272) TypeScript Bot 2022-05-26 16:43:37 -07:00
  • 5b86612f68 Fix crash from inaccurate type guard implementation (#49252) Andrew Branch 2022-05-26 16:43:22 -07:00
  • 4643bc11fe Merge branch 'main' into server-vfs-support Nathan Shively-Sanders 2022-05-26 11:03:39 -07:00
  • 84974838c7 Handle the case where the FAR results map is empty (#49254) Andrew Casey 2022-05-26 11:00:28 -07:00
  • 697df6ff41 Cherry-pick PR #49233 into release-4.7 (#49244) TypeScript Bot 2022-05-25 15:27:54 -07:00
  • 77ffb96b1a Fix extensions for noDtsResolution in node16/nodenext (#49233) Andrew Branch 2022-05-25 15:27:27 -07:00
  • 0ad5f82d62 Fix the implicit glob key so that recursive keys are not differing just directory separator for wildcard directory (#49246) Sheetal Nandi 2022-05-25 12:30:40 -07:00
  • 1fb2b2d70f fix(47562): Add option to suppress type hint if variable name matches type name (#48529) Huy 2022-05-25 12:07:38 -07:00
  • ab673e8349 Little more diff cleanup Nathan Shively-Sanders 2022-05-25 10:44:24 -07:00
  • fdd44be514 Try to improve diff further Nathan Shively-Sanders 2022-05-25 10:39:24 -07:00
  • c927b48dbf Improve diff of virtualFileSystemWithWatch.ts Nathan Shively-Sanders 2022-05-25 10:28:09 -07:00
  • c2d45f9ad4 Get rid of separate init call for VirtualServerHost Nathan Shively-Sanders 2022-05-25 10:18:12 -07:00
  • d5a9736607 Merge branch 'main' into server-vfs-support Nathan Shively-Sanders 2022-05-25 09:07:15 -07:00
  • 0c78b837a1 Ensure dynamically imported plugins are loaded in the correct order ts-plugins-on-web Ron Buckton 2022-05-24 18:27:01 -07:00
  • b57d6e1df4 fix(49131): allow type keyword inside functions (#49134) Oleksandr T 2022-05-25 01:16:48 +03:00
  • a2b785b6cb Limit type argument inference from binding patterns (#49086) Andrew Branch 2022-05-24 09:05:34 -07:00
  • 194a2aea0d Key validity of import=require in module: node off of module and not target (#49222) Wesley Wigham 2022-05-24 03:33:23 -07:00
  • 92278564f1 Merge branch 'main' into packageJsonWatch Sheetal Nandi 2022-05-23 12:50:45 -07:00
  • 7c6521e8fb When building projects in watch mode, only schedule projects that need build or need update to bundle (#48865) Sheetal Nandi 2022-05-23 11:40:57 -07:00
  • c592ee781d Instantiate original target type in substituteIndexedMappedType (#49205) Anders Hejlsberg 2022-05-23 11:07:33 -07:00
  • 006ae339bf Add es2018.intl ref to es2020.intl (#49152) Nathan Shively-Sanders 2022-05-20 11:04:34 -07:00
  • 408c760fae Update package-lock.json TypeScript Bot 2022-05-20 06:06:36 +00:00
  • cfd1a6e127 Bump version to 4.7.2 and LKG v4.7.2 TypeScript Bot 2022-05-19 21:36:16 +00:00
  • 0921eac6dc Fix path completions for typesVersions (#49154) Andrew Branch 2022-05-19 14:33:46 -07:00
  • f6a171309e Update CONTRIBUTING.md to mention issue claiming and force pushing (#49090) Jake Bailey 2022-05-19 13:46:37 -07:00
  • 5aa0053c74 Use changeCompilerHostLikeToUseCache in synchronizeHostData (#48980) Andrew Casey 2022-05-18 17:26:55 -07:00
  • 12ed01203c Clean up FAR aggregation (#48619) Andrew Casey 2022-05-18 17:26:17 -07:00
  • 114e310de7 Cherry-pick PR #49157 into release-4.7 (#49167) TypeScript Bot 2022-05-18 13:58:22 -07:00
  • e56a067801 Fix uncalled function check usage detection for && expressions (#49157) Andrew Branch 2022-05-18 13:58:06 -07:00
  • ce85d647ef LEGO: Merge pull request 49148 csigs 2022-05-17 03:46:13 -07:00
  • 49145b8616 Update package-lock.json TypeScript Bot 2022-05-17 06:07:09 +00:00
  • 755d5ccad6 fix confused comment (#49094) Oleksandr T 2022-05-17 01:26:26 +03:00
  • 0df9462a96 fix(49058): Language service crashes for static member in class with unresolved base members (#49059) Oleksandr T 2022-05-17 00:29:40 +03:00
  • 2c5cabc20b use eslint-disable not tslint:disable Nathan Shively-Sanders 2022-05-16 11:42:02 -07:00
  • 050d5c1396 fix most lint Nathan Shively-Sanders 2022-05-16 11:33:16 -07:00
  • ab928dd424 Restore setModifiedTime Nathan Shively-Sanders 2022-05-16 11:26:34 -07:00
  • 77b83f1106 Cherry-pick PR #49104 into release-4.7 (#49135) TypeScript Bot 2022-05-16 10:57:39 -07:00
  • 71d038ae8a undo diff logging to minimise baseline churn Nathan Shively-Sanders 2022-05-16 10:48:13 -07:00
  • 68cb6bafce Merge branch 'main' into server-vfs-support Nathan Shively-Sanders 2022-05-16 09:57:38 -07:00
  • 95731f0397 No errors on apparent type of bigint or symbol, even for recent targets (#49104) Nathan Shively-Sanders 2022-05-16 09:14:00 -07:00
  • 528f708ab8 LEGO: Merge pull request 49130 csigs 2022-05-16 08:16:23 -07:00
  • e5e4e68471 Update package-lock.json TypeScript Bot 2022-05-16 06:06:50 +00:00
  • 9e70b69a97 LEGO: Merge pull request 49117 csigs 2022-05-15 09:00:13 -07:00
  • fba6eeaf6e LEGO: Merge pull request 49108 csigs 2022-05-14 05:10:05 -07:00
  • 85bd9d97b8 Update package-lock.json TypeScript Bot 2022-05-14 06:19:38 +00:00
  • 0414deeaaf Merge pull request #48954 from a-tarasyuk/fix/48948 Daniel Rosenwasser 2022-05-13 12:20:45 -07:00
  • 5284804610 Move new test to its own file Nathan Shively-Sanders 2022-05-13 10:38:10 -07:00
  • b0edfb1321 Switch tests to baselines Nathan Shively-Sanders 2022-05-13 10:35:35 -07:00
  • 90b1321baa LEGO: Merge pull request 49098 csigs 2022-05-13 03:59:47 -07:00
  • d8ebeebc59 move tests to conformance/salsa from compiler Oleksandr T 2022-05-13 09:24:33 +03:00
  • 9607a5310f add messages to plainJSErrors Oleksandr T 2022-05-13 09:24:08 +03:00
  • d53b16ba0a Update package-lock.json TypeScript Bot 2022-05-13 06:09:16 +00:00
  • 92894d36af Make watch/FS testing code friendlier for project loading in module transformation (#49087) Jake Bailey 2022-05-12 16:43:44 -07:00
  • b689cd0aa9 feat: support error when comparing with object/array literals (#45978) Jack Works 2022-05-13 06:45:22 +08:00