Commit Graph

  • df58836577 Use proper type for result of resultModuleNamesReusingOldState (#50012) Jake Bailey 2022-07-27 09:30:52 -07:00
  • a4507c9225 Favor asserted type in type predicate narrowing (#50044) Anders Hejlsberg 2022-07-26 17:39:35 -07:00
  • ebd42abf95 Account for type parameters in missing function codefix (#49727) Josh Goldberg 2022-07-26 18:22:19 -04:00
  • 78e2bfd712 Fix(49525): Adds documentation for the Proxy type. (#49674) Danilo Lekovic 2022-07-26 13:25:10 -07:00
  • 3afe2d654e Resolve parsingContextErrors TODO (#50011) Jake Bailey 2022-07-26 08:59:06 -07:00
  • bcd22b47d2 fix(50048): remove token name from id (#50051) Oleksandr T 2022-07-26 11:13:04 +03:00
  • 34c3b9cf49 Fixed changes to previous commit: navya9singh 2022-07-25 14:26:09 -07:00
  • b5b02eefc8 Walk tokens with the correct walker (#50042) Jake Bailey 2022-07-25 14:26:00 -07:00
  • 12dbdf03b1 Parse parameter decorators outside of Await context when appropriate (#50040) Ron Buckton 2022-07-25 17:17:27 -04:00
  • 04df1e18d9 Follow up changes to es5.d.ts navya9singh 2022-07-25 12:25:45 -07:00
  • 3cade4ca24 String.prototype.replace docs fix. navya9singh 2022-07-25 11:53:20 -07:00
  • a179e910dd Update package-lock.json TypeScript Bot 2022-07-25 06:06:48 +00:00
  • 4026c6fd80 Properly handle null and undefined in getCommonSupertype (#50021) Anders Hejlsberg 2022-07-24 08:09:14 -07:00
  • 165a1c4a40 LEGO: Merge pull request 50024 Alex Hsu 2022-07-24 03:31:04 -07:00
  • 966e732ed4 Remove uses of visitNodes and visitNode in visitEachChild (#49992) Jake Bailey 2022-07-22 19:35:39 -07:00
  • c7b2942acc Add regression test emptyObjectAndIndexSignatures Anders Hejlsberg 2022-07-22 16:44:33 -07:00
  • 97bfeab1a5 Accept new baselines Anders Hejlsberg 2022-07-22 16:39:59 -07:00
  • 823b220219 Non-fresh {} is not a subtype of { [x: string]: xxx } Anders Hejlsberg 2022-07-22 16:38:26 -07:00
  • 6aefc1dcea More fixes to uncalled function checks in && expressions (#49868) Andrew Branch 2022-07-22 16:06:16 -07:00
  • 4e23f515e0 Protect watcher from double close (#49990) Jake Bailey 2022-07-22 13:32:16 -07:00
  • 455ea9b41f fix(49964): handle auto-import dependencies/omit duplicate constraints (#50004) Oleksandr T 2022-07-22 21:01:43 +03:00
  • 7b764164ed Fixed closing JSDoc when adding multiple blocks (#49888) Armando Aguirre 2022-07-21 13:16:40 -07:00
  • 5d2e62a810 fix(49854): fix start index to emit statements after super (#49858) Oleksandr T 2022-07-21 02:02:30 +03:00
  • 5702941c2f fix(49719): Incorrect error 2301 when using ES standard class properties (#49725) Oleksandr T 2022-07-21 00:36:35 +03:00
  • 2f51a9e859 Update DOM lib for 4.8 RC (#49976) Nathan Shively-Sanders 2022-07-20 11:37:57 -07:00
  • 4faee2d42b fixAddMissingMemberTruncation fixAddMissingMemberTruncation Danay 2022-07-20 11:32:28 -07:00
  • 2644fb0b5c Update package-lock.json TypeScript Bot 2022-07-20 06:07:22 +00:00
  • f6ac10958f fix(49704): Code folding not working in file with simple syntax error (#49743) Oleksandr T 2022-07-20 02:26:56 +03:00
  • 7f3ca9f8f7 Copy type parameters to function with @type tag (#49960) Nathan Shively-Sanders 2022-07-19 15:40:53 -07:00
  • aba867d15a Clean up inference of type parameters, contravariant types (#49915) Jake Bailey 2022-07-19 15:30:48 -07:00
  • 8402d657ab Document order-dependence of isLocal flag (#49959) Andrew Casey 2022-07-19 14:38:35 -07:00
  • 9b1cbe059b Added type checks to avoid false positive results navya9singh 2022-07-19 14:38:24 -07:00
  • 5a53e9bb5e fix(49838): "Extract function" refactoring action is disabled for a wrong reason (#49840) Oleksandr T 2022-07-19 23:06:45 +03:00
  • 298b3a432c Update package-lock.json TypeScript Bot 2022-07-19 06:08:11 +00:00
  • 05d20760af Don't leak EvolvingArray out of code flow (#49943) Jake Bailey 2022-07-18 19:00:18 -07:00
  • 3863cc4a20 feat(49786): show completions in expression with type arguments (#49810) Oleksandr T 2022-07-19 00:55:15 +03:00
  • 91f7cfc501 fix(49392): show optional class methods with enabled strict option (#49768) Oleksandr T 2022-07-19 00:49:13 +03:00
  • efbe03a33c check base constraint when checking operand of plus (#49918) Zzzen 2022-07-19 00:42:50 +08:00
  • aa2b2352e1 Update package-lock.json TypeScript Bot 2022-07-18 06:06:43 +00:00
  • 481357a4c8 Update package-lock.json TypeScript Bot 2022-07-16 06:06:22 +00:00
  • 2c68ded954 Improve narrowing logic for instanceof, type predicate functions, and assertion functions (#49625) Anders Hejlsberg 2022-07-15 14:01:55 -10:00
  • 4f29633934 Update package-lock.json TypeScript Bot 2022-07-15 06:06:35 +00:00
  • cf3af3febd Properly propagate ObjectFlags.NonInferrableType, clean up non-inferrable code paths (#49887) Jake Bailey 2022-07-14 18:33:09 -07:00
  • 4902860302 Fix(49472): Added docs for Set and Map types (#49522) Gabriel Grubba 2022-07-14 20:59:05 -03:00
  • cd3bd5522b Fixed an issue with generic naked T not being allowed as async generator's return (#49023) Mateusz Burzyński 2022-07-15 00:51:03 +02:00
  • d0547f1d0b noUncheckedIndexedAccess with enums Type narrowed navya9singh 2022-07-14 14:43:46 -07:00
  • a21024dbe7 Delete unused code in object literal binding (#49879) Nathan Shively-Sanders 2022-07-14 13:22:14 -07:00
  • bb913f8340 Update package-lock.json TypeScript Bot 2022-07-14 06:06:42 +00:00
  • 2ef3901940 Fixed initializaiton-time inference for class properties assigned through element access (#49374) Mateusz Burzyński 2022-07-13 23:43:23 +02:00
  • e9b71d0c3a Accept new baselines fix49852 Anders Hejlsberg 2022-07-13 09:58:27 -10:00
  • 33d819ff37 Always report unmeasurable variance for mapped types Anders Hejlsberg 2022-07-13 09:57:50 -10:00
  • 6aad28f174 Update package-lock.json TypeScript Bot 2022-07-13 06:08:21 +00:00
  • 8e6e87fea6 🐛 Fix smart selection of propery signatures having JSDoc comments (#49804) Babak K. Shandiz 2022-07-12 20:34:21 +04:30
  • 12600813e2 Update package-lock.json TypeScript Bot 2022-07-12 06:07:59 +00:00
  • 695b24d187 Move DebugTypeMapper to debug.ts (#49864) Andrew Branch 2022-07-11 13:25:33 -07:00
  • 1622247636 Update package-lock.json TypeScript Bot 2022-07-09 06:07:13 +00:00
  • 28dc248e5c Update package-lock.json TypeScript Bot 2022-07-08 06:07:03 +00:00
  • c2897189cb Defer types like keyof (T & {}) (#49696) Anders Hejlsberg 2022-07-07 11:54:22 -10:00
  • 2eaf49f56e Handle pseudo-references in getFlowCacheKey (#49828) Anders Hejlsberg 2022-07-07 11:53:30 -10:00
  • 9dde56c6fc Add path completions for package.json exports with wildcards (#49644) Andrew Branch 2022-07-07 12:26:18 -07:00
  • fefe2208f4 Fixed outdated expectation comments (#49691) Mateusz Burzyński 2022-07-07 20:45:52 +02:00
  • f6684be95e fix: correct name length criterion for spelling fixes (#49575) AlCalzone 2022-07-07 18:08:37 +02:00
  • 59238dbf90 Make contextFlags an explicitly required parameter (#49720) Jake Bailey 2022-07-06 19:11:39 -04:00
  • 8ae1e9e7c7 fix(49685): omit incorrect visibility error when setter precedes getter (#49697) Oleksandr T 2022-07-07 01:59:05 +03:00
  • 7584e6aad6 fix(49642): resolve JsDoc comments/tags if accessors exist in symbol declarations (#49654) Oleksandr T 2022-07-07 01:41:50 +03:00
  • 94a65769d4 Add debug format helpers for more enums (#49732) Jake Bailey 2022-07-06 18:35:57 -04:00
  • 9872184483 Remove dependence on module compiler option to consider mts/cts files always modules (#49815) Wesley Wigham 2022-07-06 13:26:36 -07:00
  • eb430f27ea More documentation on the impliedNodeFormat SourceFile field (#49816) Wesley Wigham 2022-07-06 13:25:58 -07:00
  • af70f240a1 Always resetErrorInfo if structuredTypeRelatedTo succeeds (#49718) Jake Bailey 2022-07-06 15:57:01 -04:00
  • 8002369871 Protect against a language service host mutating its underlying source for getScriptFileNames (#49813) Andrew Branch 2022-07-06 10:49:01 -07:00
  • 8687940398 Add visible alias statements for non-visible binding patterns when emitting declaration (#48869) Mateusz Burzyński 2022-07-06 19:08:17 +02:00
  • 0f868035af Constrain infer type parameters made to preserver distributivity for inlined homomorphic mapped types (#49793) Wesley Wigham 2022-07-06 09:32:37 -07:00
  • e2e3c1285f fix(49544): allow comma token after accessors (#49545) Oleksandr T 2022-07-06 18:54:54 +03:00
  • 0bc2b658a4 Retire $ExpectError awareness from DefinitelyTypedRunner (#49756) Jack Bates 2022-07-06 08:43:39 -07:00
  • 641ab8eb97 Infer rest type without using assignContextualParameterTypes (#49740) Jake Bailey 2022-07-06 11:27:56 -04:00
  • e75b25a444 Update package-lock.json TypeScript Bot 2022-07-06 06:08:31 +00:00
  • 1f0d0f7c66 Set Error.prototype.cause type to unknown (#70) (#49639) iamharbie 2022-07-05 23:43:43 +01:00
  • 2876f3ae85 Minor fixes (#49791) Andrew Casey 2022-07-05 15:02:14 -07:00
  • cdc1996e87 fix(49426): Object method snippet completions incorrectly add this parameters (#49757) Oleksandr T 2022-07-05 21:46:19 +03:00
  • 2f260885cc Cache results of expensive repetitive type operations (#49760) Anders Hejlsberg 2022-07-05 10:02:32 -07:00
  • 501e442ffc Elide import equals in transpileModule if referenced only by export type (#49664) Will Nayes 2022-07-05 11:08:43 -05:00
  • 3dbe62e3f0 Update package-lock.json TypeScript Bot 2022-07-05 06:06:24 +00:00
  • 2613158d75 Update package-lock.json TypeScript Bot 2022-07-04 06:07:53 +00:00
  • 5d65c4dc26 Update package-lock.json TypeScript Bot 2022-07-03 06:06:30 +00:00
  • 1b9c8a15ad Update package-lock.json TypeScript Bot 2022-07-02 06:07:25 +00:00
  • c6ff5f3b52 Fix for Awaited<T> inference (#49748) Ron Buckton 2022-07-01 15:00:54 -07:00
  • f065e079ca Merge branch 'main' into server-vfs-support Nathan Shively-Sanders 2022-07-01 09:20:07 -07:00
  • ad4ded80e1 Update package-lock.json TypeScript Bot 2022-07-01 06:06:20 +00:00
  • f8aa570b23 Get type arguments lazily for instantiating inferred type parameter constraint (#49744) Andrew Branch 2022-06-30 16:23:07 -07:00
  • 4c34f2c792 Fix mapper used to instantiate distributive conditional manufactured in declaration emit (#49737) Wesley Wigham 2022-06-30 15:03:25 -07:00
  • c251d60095 Instead of storing timestamp of when last d.ts file was modified, store its name so buildinfo becomes portable again (#49717) Sheetal Nandi 2022-06-30 09:49:27 -07:00
  • 93f2d2b9a1 Add variance results to tracing, capture variance verification on annotated type params (#49712) Andrew Branch 2022-06-29 16:30:57 -07:00
  • bd11ce2aeb Fixed an issue with self-referential awaited union (#49677) Mateusz Burzyński 2022-06-29 22:01:36 +02:00
  • 52f4055174 For missing constraint quickfix insert position, Use node name end rather than related span end (#49673) Wesley Wigham 2022-06-29 11:46:42 -07:00
  • cba184f69b Demote priority of JS completions (#49716) Nathan Shively-Sanders 2022-06-29 11:05:50 -07:00
  • 63d0574321 Update package-lock.json TypeScript Bot 2022-06-29 06:06:27 +00:00
  • b379e7fc79 Pass contextFlags when getting contextual type of JSX elements/attributes (#49707) Jake Bailey 2022-06-28 14:40:26 -07:00
  • 1eb276fabd Add reference to TypeScript-Compiler-Notes in CONTRIBUTING.md (#49689) aghArdeshir 2022-06-29 01:32:59 +04:00
  • 2f86a83dff Fix mis-completed variable name in tracepoint (#49715) Andrew Casey 2022-06-28 14:32:44 -07:00
  • af72aa6b24 fix(?) bad merge Nathan Shively-Sanders 2022-06-28 11:16:14 -07:00