Commit Graph

35348 Commits

Author SHA1 Message Date
Andrew Branch
3d19c74eaa Add noDtsResolution to module resolution cache 2023-11-14 14:17:51 -08:00
Andrew Branch
bb302d2a02 Do additional noDtsResolution after all external .d.ts resolutions 2023-11-14 11:09:32 -08:00
Sheetal Nandi
e170bc59d4 Pull out parts of TI Adapter so we can test that more correctly instead of having to copy things (#56387) 2023-11-14 10:33:54 -08:00
TypeScript Bot
b970fa4ae5 Update package-lock.json 2023-11-14 06:15:06 +00:00
Oleksandr T
628bf0ec85 fix(56376): import type from from "foo" (#56385) 2023-11-13 14:43:24 -08:00
Mateusz Burzyński
9f15002959 Fixed narrowing in case clauses that follow other clauses that return (#56358) 2023-11-13 14:41:56 -08:00
Mateusz Burzyński
70becf9af9 Autocomplete from keyword in export declarations (#56029) 2023-11-13 12:52:48 -08:00
TypeScript Bot
6e9ac5b617 Update package-lock.json 2023-11-13 06:20:35 +00:00
Sheetal Nandi
ca7a3af5e6 Always update LS state through Project (#56356)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-11-10 12:45:39 -08:00
Sheetal Nandi
80ab111685 If the project is orphan dont queue up TI reqquest (#56355) 2023-11-09 12:16:29 -08:00
Sheetal Nandi
efecc85dca All tsserver unittests use session and typing installer (#56337) 2023-11-09 11:48:48 -08:00
TypeScript Bot
8e1fb5789a Update package-lock.json 2023-11-09 06:14:48 +00:00
Zzzen
7b96c28e8f Add Support for Using Aliased Discriminants in Conditional Statements (#56173) 2023-11-08 15:06:40 -08:00
TypeScript Bot
50f48840a3 Update package-lock.json 2023-11-08 06:20:08 +00:00
Jake Bailey
4dd1e2f844 Ensure instantiation expressions have symbols, preventing crash in signature relations (#56064) 2023-11-07 15:59:19 -08:00
Andrew Branch
649e614496 Recognize more "cannot find name" error code variations for codefixes (#56335) 2023-11-07 11:42:06 -08:00
TypeScript Bot
27556f5d3b Update package-lock.json 2023-11-07 06:15:03 +00:00
Jake Bailey
4b29ab594c Bail early in getNarrowedTypeWorker if type is candidate (#55926) 2023-11-06 15:50:41 -08:00
Jake Bailey
1ed8ed6c27 Preserve original type parameter names more often when shadowed (#55820)
Co-authored-by: Wesley Wigham <wwigham@gmail.com>
2023-11-06 15:45:16 -08:00
Jake Bailey
b2fc883c39 Enable GenerateNamesForShadowedTypeParams for types baselines (#55821) 2023-11-06 15:02:51 -08:00
dependabot[bot]
02006e19ef Bump the github-actions group with 1 update (#56255)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 12:28:58 -08:00
TypeScript Bot
b1ab082c80 Update package-lock.json 2023-11-05 06:23:37 +00:00
TypeScript Bot
d2fdf851cc Update package-lock.json 2023-11-04 06:14:52 +00:00
Ryan Cavanaugh
1565f96e44 Deprecate ES3 in commandline parser (#56304)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-11-03 12:29:32 -07:00
kazuya kawaguchi
09fc67bd48 fix: add Intl.getCanonicalLocales type definition (#56079)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-11-03 10:56:44 -07:00
Mateusz Burzyński
fd0936755b Improve quick info display on properties belonging to all union contextual type members (#56088) 2023-11-03 10:38:28 -07:00
Ron Buckton
10db6524f1 Move complex parameter lists of async function into downlevel generator body (#56296) 2023-11-03 12:57:07 -04:00
Jake Bailey
c5a8636a79 Make esbuild require hack look better in output (#56060) 2023-11-03 09:08:39 -07:00
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