35320 Commits

Author SHA1 Message Date
Ron Buckton
e1ef69d99e
pass 'detached:true' for diff tool (#56293) 2023-11-03 11:18:21 -04:00
Mateusz Burzyński
6a9bc38da8
Do not narrow using JSDoc type assertion nodes (#56048) 2023-11-03 07:04:45 -07:00
Oleksandr T
65f33a2e92
fix(55998): Ability to Place Open Brace On New Line For Try Catch Blocks (#56021) 2023-11-03 06:02:20 -07:00
TypeScript Bot
e6d0f722e0 Update package-lock.json 2023-11-03 06:19:31 +00:00
Sheetal Nandi
e58d8fd635
Handle dts emit time errors for incremental scenarios and buildInfo (#56295) 2023-11-02 18:35:28 -07:00
Daniel Rosenwasser
d86bddec5e Bump version to 5.4. 2023-11-02 22:15:18 +00:00
Pranav Senthilnathan
9ebd9c4b90
Add more nodes for inlay hints (#56277)
Adds:
- CallSignature
- MethodSignature
- ObjectBindingPattern
- ArrayBindingPattern
- PrefixUnaryExpression
2023-11-02 13:46:35 -07:00
Jake Bailey
cf73e5af5d
Add 'not a request for a utility type' to the feature issue template (#55746) 2023-11-02 09:52:32 -07:00
TypeScript Bot
73bc0eba5f Update package-lock.json 2023-11-01 06:21:06 +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
42d0e5100f Update package-lock.json 2023-10-31 06:22:19 +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
Jake Bailey
d7c2670898
Add dependabot to pr_owners (#56263) 2023-10-30 12:08:10 -07: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
TypeScript Bot
f0374ce2a9 Update package-lock.json 2023-10-29 06:20:20 +00:00
Jake Bailey
514f7e639a
Update dprint and plugins (#56163) 2023-10-28 10:40:52 -07:00
TypeScript Bot
3e3f0cb033 Update package-lock.json 2023-10-28 06:19:02 +00:00
Jake Bailey
6134091642
Revert "Explicitly declare type=commonjs in package.json (#56190)" (#56237) 2023-10-27 20:50:38 -07:00
Isabel Duan
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
TypeScript Bot
85c2577285 Update package-lock.json 2023-10-27 06:24:25 +00:00
Changwon Choe
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
Pedro Kaj Kjellerup Nacht
2432432391
Hash-pin GitHub Actions, use dependabot to update them (#56211) 2023-10-26 11:47:56 -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
TypeScript Bot
aa9b695344 Update package-lock.json 2023-10-26 06:24:18 +00: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 T
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
Jake Bailey
11a04ed908
Explicitly declare type=commonjs in package.json (#56190) 2023-10-24 11:18:37 -07:00
Jeswin Simon
05e05e638f
Fix for #56119 - Update JSDoc for TypedArrays (#56148) 2023-10-24 09:35:26 -07:00
TypeScript Bot
7f482f9e47 Update package-lock.json 2023-10-24 06:20:06 +00: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
Jake Bailey
d9d027d0c4
Fix spacing in issue templates (#56189) 2023-10-23 11:41:36 -07:00
Anders Hejlsberg
b76b4c26ca
Improve isDeeplyNestedType for homomorphic mapped types (#56169) 2023-10-23 08:53:46 -07:00
TypeScript Bot
8af8f3c4d1 Update package-lock.json 2023-10-21 06:19:14 +00:00
Andrew Branch
aef4e468d9
Add user preference for preferring type-only auto imports (#56090) 2023-10-20 14:52:18 -07:00
TypeScript Bot
6424e181d4 Update package-lock.json 2023-10-20 06:22:30 +00: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
TypeScript Bot
3c221fc086 Update package-lock.json 2023-10-19 06:21:38 +00: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
TypeScript Bot
413179867f Update package-lock.json 2023-10-18 06:20:39 +00:00
TypeScript Bot
1f759b86ed Update package-lock.json 2023-10-17 06:26:12 +00:00