Commit Graph
25892 Commits
Author SHA1 Message Date
TypeScript BotandRyan Cavanaugh 3a36bec244 🤖 Pick PR #56626 (Directly copy only the index signat...) into release-5.3 (#56709)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2023-12-07 13:09:25 -08:00
TypeScript Bot 63717cf44a Bump version to 5.3.3 and LKG 2023-12-02 01:27:59 +00:00
4c2afa7f7b 🤖 Pick PR #56627 (Transpile jsdoc parsing mode) into release-5.3 (#56629)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-12-01 17:17:27 -08:00
TypeScript BotandAnders Hejlsberg ba3d2b02b2 🤖 Pick PR #56434 (Fix support for intersections in te...) into release-5.3 (#56491)
Co-authored-by: Anders Hejlsberg <andersh@microsoft.com>
2023-11-29 16:23:03 -08:00
TypeScript BotandMateusz Burzyński f3808c416d 🤖 Pick PR #56504 (Fixed an issue in boolean compariso...) into release-5.3 (#56512)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2023-11-22 11:10:25 -08:00
Jake Bailey b4fe221e65 Cherry-pick #56489 into release-5.3 (#56490) 2023-11-21 11:50:51 -08:00
Andrew Branch f750eb3794 Pick #56485 into release-5.3 (#56486) 2023-11-21 11:50:15 -08:00
Andrew Branch d09b1bfb5a Pick #56449 into release-5.3 (#56451) 2023-11-17 16:18:10 -08:00
756efd2478 Fixes for release-5.3. (#56424)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-11-15 18:01:59 -08:00
TypeScript Bot 58237857d1 Merge remote-tracking branch 'origin/main' into release-5.3 2023-10-31 22:42:23 +00:00
Mateusz Burzyński 3e12250839 Allow of in await using declarations in for-of loops (#55558) 2023-10-31 15:06:36 -04:00
TypeScript Bot b86883fea4 Bump version to 5.3.1-rc and LKG 2023-10-31 17:45:25 +00:00
TypeScript Bot 826bea9a80 Merge remote-tracking branch 'origin/main' into release-5.3 2023-10-31 17:16:45 +00:00
Andrew Branch 0ee2db33ca Fix declaration emit in --moduleResolution bundler using wrong exports conditions (#56265) 2023-10-30 15:39:57 -07:00
Oleksandr T 60ce788302 fix(53933): Confusing rules around function parameter names in a type (#53946) 2023-10-30 15:24:14 -04:00
Oleksandr T bf78d175d0 fix(55237): TypeScript 5.2 "move to file" results in duplicate imports (#56187) 2023-10-30 10:50:05 -07:00
Isabel DuanandJake Bailey 29cfca319b add pushTypeResolution to getTypeOfAlias (#52642)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-10-27 18:08:20 -07:00
Isabel Duan 6061069d96 fix54035, extractType now allows parts of union and intersection types to be extracted (#56131) 2023-10-27 17:59:16 -07:00
Oleksandr T f25f2bb75d fix(55939): JS Doc comment not shown in signature help when overload tag exists (#56139) 2023-10-27 15:24:07 -07:00
Mateusz Burzyński a25321afce Ensure all JSX spread properties get visited in ES2018+ (#55859) 2023-10-27 11:36:21 -07:00
Changwon ChoeandNathan Shively-Sanders 598d912f69 Add conditions to check for class extension or implementation of prim… (#55712)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-10-26 12:41:58 -07:00
Mateusz Burzyński 1c49a8ba02 Filter possible contextual return types from unions for async functions and generators (#51196) 2023-10-26 12:03:01 -04:00
Mateusz Burzyński 41ebfbf0aa Fixed an issue with string mappings over generic intersections not being deferred in conditional types (#55856) 2023-10-26 06:36:11 -07:00
Ron Buckton 79da510066 Fix incorrect flags in modifierFlagsCache (#56198) 2023-10-25 18:24:53 -04:00
Sheetal Nandi 55395f9e01 When caching type references cache the tracked symbols so they can be emitted in the d.ts file (#51721) 2023-10-25 15:05:47 -07:00
Evgeniy Timokhov 043e1ca743 Expose TypeChecker.getMergedSymbol to public (#56192) (#56193) 2023-10-25 14:37:19 -07:00
Oleksandr TandNathan Shively-Sanders 5449489238 fix(55796): JSDoc does not support @this when using an arrow function as method in class (#55877)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-10-25 14:23:04 -07:00
Sheetal Nandi 781cc19b32 Updates to unittests to make them more readable (#56214) 2023-10-24 22:14:31 -07:00
Jeswin Simon 05e05e638f Fix for #56119 - Update JSDoc for TypedArrays (#56148) 2023-10-24 09:35:26 -07:00
Ron Buckton 8e37e4b853 More reliable mechanism for _this/_super simplification (#56130) 2023-10-23 21:01:11 -04:00
Ron Buckton e5e7cbba79 Expose 'updateModifiers' in public NodeFactory API (#56194) 2023-10-23 20:37:57 -04:00
Anders Hejlsberg b76b4c26ca Improve isDeeplyNestedType for homomorphic mapped types (#56169) 2023-10-23 08:53:46 -07:00
Andrew Branch aef4e468d9 Add user preference for preferring type-only auto imports (#56090) 2023-10-20 14:52:18 -07:00
Ron Buckton 7d3f387318 Properly handle AsyncGeneratorUnwrapYieldResumption (#56150) 2023-10-19 17:16:34 -04:00
Anders Hejlsberg ac75a5ec9a Fix discriminant property check in CFA (#56156) 2023-10-19 14:04:41 -07:00
Gabriela Araujo Britto b1f5ef69e8 Improve error message for index signature on generic type when writing (#55906) 2023-10-18 17:43:43 -07:00
Sheetal Nandi 508e52d13a During fourslash server test baseline tsserver log file so that project updates and watches can be baselined and reasoned about (#56132) 2023-10-16 16:08:13 -07:00
Mateusz Burzyński d6171b9d0b Provide contextual this to functions assigned using compound assignments (#56116) 2023-10-16 11:59:25 -07:00
Mateusz Burzyński 0e07ff50ae Defer checking expressions in void expressions (#56122) 2023-10-16 10:16:19 -07:00
vuittont60 2e660bc174 Fix typos (#56115) 2023-10-16 09:37:15 -07:00
Sheetal Nandi feeb30dec9 Some of the test refactoring and readable baselining (#56075) 2023-10-12 10:39:40 -07:00
Jake Bailey d3c7d96d2c Remove old references to deprecated assertion node types (#56073) 2023-10-11 12:54:27 -07:00
Sheetal Nandi 9473195b6c noDts project resolutions verification and updates for incremental behaviour (#56016) 2023-10-10 10:24:08 -07:00
Mateusz Burzyński 521f8a8caf Ignore awaited self tail calls when collecting the return type of an async function (#56020) 2023-10-10 09:03:18 -07:00
Sheetal NandiandAndrew Branch 3516ca96e5 pass program update level to getExternalFiles in tsserver plugins so plugins can make decision about their cache based on that (#56047)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-10-09 16:05:11 -07:00
Andrew Branch d0d406747d Add type reference directive for all visited references to ambient modules (#56015) 2023-10-09 11:38:15 -07:00
Mateusz Burzyński 9144836360 Fixed type narrowing in switch statements with parenthesized expressions (#56035) 2023-10-09 11:36:16 -07:00
Jake Bailey 53a3d24b95 Fix fallthrough and default in new switch-true narrowing (#55991) 2023-10-06 16:23:54 -07:00
Mateusz Burzyński 7377f5cb9d Fixed declaration emit of object literals withs divergent accessors (#55442) 2023-10-05 16:40:45 -07:00
Andrew Branch 5001433b10 Allow valid contextual keyword completions even when an auto-import by the same name exists (#56001) 2023-10-05 16:01:59 -07:00