35135 Commits

Author SHA1 Message Date
Andrew Branch
76869eeda1
Fix relative path completions when self package.json has typesVersions (#54842) 2023-06-30 10:13:22 -07:00
TypeScript Bot
4d7738ca21 Update package-lock.json 2023-06-30 06:19:27 +00:00
Mateusz Burzyński
3073b5209b
Extend isTupleLikeType to also check if .length is a number literal type (#52617) 2023-06-29 19:13:02 -07:00
Matej 'Yin' Sadovsky
34f6e107a3
Enable parsing of nested parameters for @callback JSDoc tag. (#54681)
Co-authored-by: Matej Sadovsky <matej.sadov@gmail.com>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-06-29 10:36:38 -07:00
Jack Works
ed5008da68
Improve error for unclosed imports and exports (#54634)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-06-29 10:22:05 -07:00
Mateusz Burzyński
18e19492be
Fixed parenthesized array literal expressions spread in calls not being tupleized (#54623) 2023-06-29 10:15:19 -07:00
TypeScript Bot
dd3e81a675 Update package-lock.json 2023-06-29 06:18:17 +00:00
Andrew Branch
c97e4b64a0
Fix auto imports in JS files in nodenext (#54817) 2023-06-28 15:03:14 -07:00
TypeScript Bot
6696ecd37e Update package-lock.json 2023-06-28 06:20:53 +00:00
Jake Bailey
5b5a139ef1
Fix newlines in PR bot reply (#54803) 2023-06-27 14:56:45 -07:00
Mateusz Burzyński
a3773ec590
Avoid subtype reduction when creating a union result in discriminateTypeByDiscriminableItems (#54052) 2023-06-27 11:55:46 -07:00
Jake Bailey
b61f24d0ec
Fully replace fabricbot modified file checking with pull_request_target (#54719) 2023-06-27 10:36:33 -07:00
TypeScript Bot
218d380289 Update package-lock.json 2023-06-27 06:19:46 +00:00
navya9singh
13460aee86
Fix(52604): Provide Object member completions without comma; insert a comma (#52899)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-06-26 18:06:27 -07:00
Mateusz Burzyński
c58cc39a15
Fixed baselines that were comitted using the old format (#54791) 2023-06-26 16:41:06 -07:00
Oleksandr T
df40c7ae88
fix(51868): this within function typed as any when annotated with JSDoc (#54516) 2023-06-26 15:00:10 -07:00
Maria José Solano
38575dc015
Fix missing parentheses in inline variable (#54737) 2023-06-26 14:08:59 -07:00
Daniel Rosenwasser
f762de5220
Do not mark indexed access object type comparisons as unreliable. (#54781) 2023-06-26 13:21:10 -07:00
Mateusz Burzyński
4cac28ed57
Remove unused diagnostic 2346 (#54442) 2023-06-26 11:43:09 -07:00
Vitaly
38a4ced4e3
fix: no variable suggestions without semicolon (#54656) 2023-06-26 10:44:02 -07:00
Josh Goldberg ✨
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
Chi Leung
a94eb319eb
Transform namespaces declared with module keyword to namespace keyword in d.ts files (#54134)
Signed-off-by: Chi Leung <chiguan.leung@gmail.com>
Co-authored-by: Titian Cernicova-Dragomir <dragomirtitian@yahoo.com>
Co-authored-by: Titian Cernicova-Dragomir <tcernicovad1@bloomberg.net>
2023-06-26 12:58:23 -04:00
TypeScript Bot
7dd7caaf7c Update package-lock.json 2023-06-26 06:18:54 +00:00
TypeScript Bot
11b1cccb73 Update package-lock.json 2023-06-25 06:20:46 +00:00
TypeScript Bot
4b0fd40aaf Update package-lock.json 2023-06-24 06:18:59 +00:00
Wesley Wigham
aec9e23781
Add test which would fail if SFT behavior differs in variance checking (#54756) 2023-06-23 15:32:45 -07:00
Oleksandr T
de6e6abbac
fix(54465): Broken emit with private field in class decorator (#54679) 2023-06-23 17:09:48 -04:00
Mateusz Burzyński
39da6b1c63
Display property types in optional chains without optional type marker (#53804) 2023-06-23 13:04:08 -04:00
Oleksandr T
bc91920cc6
feat(53461): Implement decorator metadata proposal (#54657) 2023-06-23 10:55:22 -04:00
TypeScript Bot
f7e4f809ac Update package-lock.json 2023-06-23 06:22:51 +00:00
Ron Buckton
f9cf8216c6
Support using and await using declarations (#54505) 2023-06-22 17:02:56 -04:00
Andrew Branch
d90eb0d731
Require module/moduleResolution to match when either is node16/nodenext (#54567) 2023-06-22 13:35:52 -07:00
Gabriela Araujo Britto
49deff209a
Make the implicitly exported rule consistent between checker and binder (#54659) 2023-06-22 12:27:53 -07:00
Mateusz Burzyński
70fe93fe33
Automatically enable debugMode when recording with Replay (#49027) 2023-06-22 11:19:32 -07:00
Nathan Shively-Sanders
e69a0b0e38
DOM update 2023/06/21 (#54725) 2023-06-21 12:31:52 -07:00
TypeScript Bot
a118f37399 Update package-lock.json 2023-06-21 06:17:32 +00:00
David Sherret
b5adef59ec
fix(dts): JsxSpreadAttribute - remove name from types (#54599) 2023-06-20 20:35:58 -07:00
Gabriela Araujo Britto
f647b11846
Use function that doesn't return unknown type (#54713) 2023-06-20 13:47:12 -07:00
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