34897 Commits

Author SHA1 Message Date
Jake Bailey
bac475bee5
Also auto-close "Out of Scope", "Declined", "Won't Fix", and "Too Complex" (#54682) 2023-06-20 13:24:03 -07:00
Mateusz Burzyński
abf0ef8eef
Fixed an issue with errors not being correctly reported after completion requests in nested calls (#54658) 2023-06-20 12:04:08 -07:00
Mateusz Burzyński
b1c2e8caad
Add extra test cases for string literal completions (#54714) 2023-06-20 09:52:38 -07:00
TypeScript Bot
f415b196fc Update package-lock.json 2023-06-20 06:18:29 +00:00
TypeScript Bot
5021dd87ef Update package-lock.json 2023-06-17 06:17:15 +00:00
Anders Hejlsberg
84d8429fb6
Add depth limiter to isConstTypeVariable function (#54624) 2023-06-16 12:48:44 -07:00
TypeScript Bot
e1a9290051 Update package-lock.json 2023-06-16 06:16:55 +00:00
TypeScript Bot
972299ae34 Update package-lock.json 2023-06-15 06:17:48 +00:00
Jake Bailey
aa44cd8004
Only gitignore lib dir at repo root (#54644) 2023-06-14 09:53:45 -07:00
TypeScript Bot
d79ec186d6 Update package-lock.json 2023-06-14 06:16:58 +00:00
Gabriela Araujo Britto
03951f2ddf
Consider index signatures as optional properties in contextual type discrimination (#54596) 2023-06-13 09:57:51 -07:00
Ryan Cavanaugh
a2968a1620
Create module_resolution.yml (#54633) 2023-06-13 09:41:26 -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
TypeScript Bot
2a37eb2e47 Update package-lock.json 2023-06-13 06:17:14 +00:00
Maria José Solano
31936ea36e
Add inline variable refactor (#54281) 2023-06-12 20:03:43 -07:00
Anders Hejlsberg
89cbea8e16
No this type arguments in base constraints (#54536) 2023-06-12 19:07:44 -07:00
Jack Works
e60cf121ae
Add check for reference-compared literals to JS files (#49164) 2023-06-12 16:02:25 -07:00
GuLewei
6a996ac995
Additional fix to issue #50509 (#54423) 2023-06-12 15:31:51 -07:00
Mateusz Burzyński
d95caa51fc
Fixed a regression with string completions not being available directly in arguments typed using rest parameter (#54588) 2023-06-12 15:16:08 -07:00
Mateusz Burzyński
9d17b345b4
Revert collecting only outermost intra expression inference sites (#54613) 2023-06-12 10:09:07 -07:00
Jake Bailey
4c7dfb6632
Update to esbuild 0.18 (#54595) 2023-06-12 10:02:43 -07:00
TypeScript Bot
2f34e57ed3 Update package-lock.json 2023-06-11 06:19:50 +00:00
TypeScript Bot
33eac2825a Update package-lock.json 2023-06-10 06:17:12 +00:00
Ron Buckton
72406c6892
Fix regression in WeakMap constructor type (#54592) 2023-06-09 17:17:27 -04:00
Oleksandr T
af075841c5
fix(54580): Bad operation for find-all-references on import.meta when meta occurs in a comment (#54581) 2023-06-09 13:48:36 -07:00
leoelm
eeed72171f
Type definitions for 'Symbols as WeakMap keys' (#76) (#54195)
Signed-off-by: Leo Elmecker <lelmeckerpla@bloomberg.net>
2023-06-09 14:20:26 -04:00
Andrew Branch
2f4962a89f
Remove implicit tests/cases/compiler path prefix from VFS test files (#54557) 2023-06-09 09:23:21 -07:00
Jake Bailey
e49a15f633
Switch close-issues to typescript-bot token (#54579) 2023-06-08 12:10:38 -07:00
Jake Bailey
ee80068543
Switch from corepack to a global npm install for now (#54578) 2023-06-08 11:11:58 -07:00
TypeScript Bot
50df25733f Update package-lock.json 2023-06-08 06:20:10 +00:00
Jake Bailey
849d8f3741
Add missing repo flag to close-issues (#54571) 2023-06-07 20:39:11 -07:00
Jake Bailey
c4f1116e96
Fix close-issues workflow token (#54570) 2023-06-07 20:31:39 -07:00
Jake Bailey
e8a1dbba22
Replace fabricbot with GHA for scheduled issue closing (#54566)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2023-06-07 20:29:15 -07:00
TypeScript Bot
fbd63e9e43 Update package-lock.json 2023-06-07 06:17:48 +00:00
Andrew Branch
d5a6c8edc6
Test harness fixes (#54556) 2023-06-06 17:22:33 -07:00
Oleksandr T
a6d9858383
fix(54068): Organize Imports removes first deprecated JSDoc comment (#54071) 2023-06-06 16:48:03 -07:00
Wesley Wigham
3cfd6d2b87
Optimize eagerly calculating CouldContainTypeVariables during object type instantiation (#54538) 2023-06-06 14:14:49 -07:00
Sheetal Nandi
3c4c060dff
Adds tests and fixes issues by verifying incremental project updates are handling language service ref counting correctly (#54504) 2023-06-06 11:11:14 -07:00
Oleksandr T
93ac5c6529
fix(54463): Move to existing file — Error: Debug Failure. at doChange4 (#54482) 2023-06-06 09:56:03 -07:00
TypeScript Bot
324e61e451 Update package-lock.json 2023-06-06 06:18:30 +00:00
Jake Bailey
e3c5209ae2
Ensure we don't overwrite computed CouldContainTypeVariables in new optimization (#54507) 2023-06-05 15:31:19 -07:00
Andrew Branch
160d1b7d0a
Process only tsconfig-referenced files in compiler tests with tsconfig files (#54506) 2023-06-05 15:05:50 -07:00
Mateusz Burzyński
9583850fa7
Deconflict values of CheckMode.RestBindingElement and CheckMode.TypeOnly (#54540) 2023-06-05 13:37:38 -07:00
Mateusz Burzyński
4749c38e47
Only collect outermost intra expression inference sites (#54186) 2023-06-05 12:40:11 -07:00
Oleksandr T
67299ed267
fix(54458): The inlay hint does not handle TypeScript's spread operator well (#54503) 2023-06-05 11:13:14 -07:00
TypeScript Bot
cbda2fcce9 Update package-lock.json 2023-06-03 06:17:48 +00:00
Ron Buckton
913e556373
Add --coverage option to build scripts for tests (#54499) 2023-06-02 16:00:47 -04:00
Carter Snook
e8c7927641
feat(lib/esnext): add change array by copy types (#51367)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
Co-authored-by: Albert Arvidsson <albert.arvidsson@gmail.com>
2023-06-02 09:48:56 -07:00
TypeScript Bot
5bf1bac6f3 Update package-lock.json 2023-06-02 06:21:47 +00:00
Mateusz Burzyński
2fb0267630
Treat this as a constant reference for purpose of narrowing using aliased expressions (#54347) 2023-06-01 16:44:53 -07:00