Commit Graph
3406 Commits
Author SHA1 Message Date
Anders Hejlsberg 4f899a1691 Track recursive homomorphic mapped types by the symbol of their target (#55638) 2023-09-11 14:03:00 -07:00
Sheetal Nandi dd18dc1dac If outDir is not specified, dont need to include json files explicitly in the config since they will not be emitted (#55389) 2023-09-08 12:23:13 -07:00
Gabriela Araujo Britto b5d6aa73d1 Add option to exclude library symbols from navTo results (#55605) 2023-09-07 11:19:56 -07:00
Benny Neugebauer 3afb1e55f1 Consistently use ECMAScript and CommonJS wording (#55416) 2023-08-17 10:14:45 -07:00
Jake Bailey 5e8c261b6a dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Mateusz Burzyński ad7881685a Bring comments for InferenceFlags up to date (#55191) 2023-08-08 14:39:31 -07:00
Ron Buckton b1c4dc475c Fix class name references (#55262) 2023-08-04 20:36:26 -04:00
Andrew Branch 36ac4eb700 Fix reference marking of values merged with unresolvable type-only imports (#54799) 2023-08-03 11:09:50 -07:00
Maria José Solano 97310107d0 Interactable parameter inlay hints (#54734) 2023-07-20 14:29:51 -07:00
Oleksandr T ef0422b40f fix(54872): Have createUnionOfSignaturesForOverloadFailure() combine @deprecated tags properly (#54945) 2023-07-18 16:42:04 -07:00
Sheetal Nandi 5464403848 ParseConfigHost needs to extend ModuleResolutionHost (#54922) 2023-07-10 11:40:40 -07:00
5b85e9469a Allowed tuples to have both named and anonymous members (#53356)
Co-authored-by: Jake Bailey <jabaile@microsoft.com>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Co-authored-by: Daniel Rosenwasser <drosenwasser@microsoft.com>
2023-06-26 10:22:41 -07:00
Ron Buckton f9cf8216c6 Support using and await using declarations (#54505) 2023-06-22 17:02:56 -04:00
David Sherret b5adef59ec fix(dts): JsxSpreadAttribute - remove name from types (#54599) 2023-06-20 20:35:58 -07:00
Mateusz Burzyński c565827b4f Fixed some string literal argument completions depending on resolved signature (#53996) 2023-06-13 09:34:19 -07:00
Gabriela Araujo Britto 24ac9e75c2 Improve class member snippet completions and keyword completions interaction (#52525) 2023-05-17 15:14:34 -07:00
Wesley Wigham b0c80207ac Add fallback logic for generating signatures for unions of array members (#53489) 2023-05-16 15:12:37 -07:00
Gabriela Araujo Britto 48328caa71 Cache expression type when checking assertion (#54224) 2023-05-12 17:22:34 -07:00
Sheetal Nandi 8b825f7aaa Handle module node found error reporting in incremental and watch scneario (#54115) 2023-05-09 13:42:26 -07:00
Wesley Wigham 02bb3108ad JSX namespace names should not be considered expressions (#54104) 2023-05-09 10:45:58 -07:00
Nathan Shively-Sanders 063276aac9 Bind JSDoc on SemicolonClassElement (#54044) 2023-04-27 11:47:16 -07:00
Ron Buckton 36b632552d Remove EndOfDeclarationMarker and MergeDeclarationMarker nodes (#53901) 2023-04-21 17:21:26 -04:00
navya9singh d3bbef390d 'Move to file' refactor (#53542) 2023-04-21 11:48:53 -07:00
Sheetal Nandi 30fb9fa57e Refactor plugin related code (#53942) 2023-04-20 16:49:47 -07:00
Sheetal Nandi ddd5084659 Add resolveLibrary method on hosts and store resolvedLibraries in program so that resolutions can be reused (#53877) 2023-04-20 13:50:22 -07:00
Oleksandr T 0c5be02dcc feat(7411): JSX namespaced attribute syntax not supported (#47356) 2023-04-14 16:58:49 -07:00
Anders Hejlsberg e49db97f97 Exclude parameters of non-inferrable signatures from inference (#53756) 2023-04-14 12:44:37 -07:00
Ryan Cavanaugh c89f87f66a Detect malformed UTF-8 files and refuse to engage further (#53667) 2023-04-07 12:51:47 -07:00
Jake Bailey 3efcfcb70c Cache getConstraintOfDistributiveConditionalType (#53358) 2023-03-27 14:12:06 -07:00
形素叢集・ぐらふぃーむ c2dc2fd9b9 fix(396): (Dis)allow Octal and Bad Escape Sequences in String and (Tagged) Template Literals (#51837) 2023-03-24 16:15:50 -07:00
Jake Bailey 79a414bb5e Consistently use '...args' for diagnostic args (#53193) 2023-03-20 12:53:09 -07:00
Sheetal Nandi 7a8238d88d Refactor config file parsing such that json and jsonSourceFile api use same paths (#53331) 2023-03-20 12:00:08 -07:00
Jake Bailey 716b592e55 Revert fix for intersections in template literals, fix differently (#52836) 2023-03-19 19:48:32 -07:00
Anders Hejlsberg 9b7f291a33 Improve contextual typing of ending tuple elements (#53036) 2023-03-19 08:13:03 -07:00
Anders Hejlsberg a70c4095db Fast path for negative case when relating to unions of primtives (#53192) 2023-03-17 08:10:48 -07:00
Wesley Wigham 2b9d792828 Fix #33569 - Enable declaration emit for late-bound function members (#53034) 2023-03-15 10:20:35 -07:00
Anders Hejlsberg 9769421a63 Defer resolution of indexed access types with reducible object types (#53098) 2023-03-14 14:15:32 -07:00
Mateusz Burzyński f555ad73db Fix property completion in unions of object types and string mappings (#52767) 2023-03-07 16:36:37 -08:00
Nathan Shively-Sanders 137c461bd0 Scan bigger/fewer jsdoc tokens (#53081) 2023-03-07 16:32:04 -08:00
Andrew Branch 8458a61007 Make ModuleResolutionKind.Node10 change backward-compatible (#53139) 2023-03-07 11:20:53 -08:00
Jake Bailey 868331f2be Fix deprecations, improve messaging (#52993) 2023-03-07 09:39:45 -08:00
5e898eb63d Expose getStringLiteralType and getNumberLiteralType on the TypeChecker, plus remove /** @internal */ from several useful methods. (#52473)
Co-authored-by: Stephen Stchur <stchur@microsoft.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2023-03-07 08:41:55 -08:00
Sheetal Nandi 9c5b09cd21 Updates to type reference directive resolution and module resolution when failed (#51715) 2023-03-01 10:57:47 -08:00
Jake Bailey 6b75ce23ce Completely remove Push type (#52133) 2023-03-01 09:34:59 -08:00
Jake Bailey ca1cf3dd85 Deprecate UnderscoreEscapedMap and remove internal uses (#53032) 2023-02-28 16:55:29 -08:00
Jake Bailey 6fe711f85a Remove unused eslint-disable directives (#52987) 2023-02-27 11:01:37 -08:00
Jake Bailey e88fe15d68 Remove ts namespace import from checker (#52890) 2023-02-21 10:14:26 -08:00
Anders Hejlsberg 5c92af1dcc Fix contextual typing for post-spread tuple elements (#52769) 2023-02-18 07:35:24 -10:00
Oleksandr T bbb98cf797 fix(52664): Assertion failure on completions for derived class with computed base property name (#52673) 2023-02-17 17:36:52 -08:00
Jake Bailey 8cc216af03 Ensure parameters are in scope when converting parameter/return types to type nodes (#49627) 2023-02-17 16:46:03 -08:00