2146 Commits

Author SHA1 Message Date
Hana Joo
33b156147b
Add a code fixer for --isolatedDeclarations errors (#58260)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2024-04-30 15:25:51 -07:00
Ron Buckton
cd566bad95
RegExp syntax checking performance (#58339)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-04-29 15:12:36 -04:00
Wesley Wigham
f76727d17a
Add noCheck API option (#57934) 2024-04-26 13:21:15 -07:00
Daniel Rosenwasser
ed87791dd9
Rephrase error messages on backrererences. (#58310) 2024-04-24 21:59:53 -07:00
形素叢集・ぐらふぃーむ
42f238bfbb
Provide Syntax Checking for Regular Expressions (#55600)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-04-19 16:51:08 -07:00
Titian Cernicova-Dragomir
e62418e868
Isolated declarations errors (#58201)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-04-19 15:37:15 -07:00
Andrew Branch
585a9af830
Respect package.json "type" and module-format-specific file extensions in more module modes (#57896) 2024-04-12 12:47:09 -07:00
Sheetal Nandi
98f2c120d8
Take into account peerDependency versions when calculating packageId (#57029)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2024-04-01 09:04:02 -07:00
Ryan Cavanaugh
0d4414d10d
Allow this in constructor parameter defaults when legal (#57682) 2024-03-25 11:20:08 -07:00
Jan Kühle
f70b068b3c
isolatedModules errors for non-literal enum initializers (#56736) 2024-03-20 09:50:53 -07:00
Ron Buckton
5e8f900afa
Report grammar errors for invalid decorator grammar (#57749) 2024-03-13 14:50:04 -04:00
Oleksandr T
c1f0f7cb58
feat(57240): Unimplemented abstract methods result in verbose, repetitive message (#57291) 2024-03-12 15:56:09 -07:00
Gabriela Araujo Britto
6357c89c52
Properly set hasAction for erasing modifiers in class member completions (#57643) 2024-03-07 11:34:47 -08:00
Jake Bailey
26df0cb23e
Remove 5.5 deprecated compiler options (#57527)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-02-28 14:35:39 -08:00
Sheetal Nandi
f23927a806
Remove code related to prepend and fix baselines (#57472) 2024-02-28 09:52:38 -08:00
Jake Bailey
65de938e4e
Remove target=es3 (#57525) 2024-02-27 11:40:18 -08:00
Andrew Branch
61200368bb
Use loader with extension substitution for package.json main, types, typesVersions (#57261) 2024-02-02 13:20:32 -08:00
Andrew Branch
6cb6fc94ae
Add --module preserve, support require in --moduleResolution bundler (#56785) 2024-01-19 12:03:24 -08:00
Oleksandr T
140fa7e5d1
feat(51870): Add a Quick Fix to add an additional parameter to a method or function (#56411) 2024-01-19 09:35:33 -08:00
Andrew Branch
69f2e2ae65
Issue better error when unresolvable package in --moduleResolution node10 resolves with --moduleResolution bundler (#56949) 2024-01-16 09:36:14 -08:00
Daniel Rosenwasser
93e6b9da0c
Enforce identical enum values in compatibility checks (#55924) 2023-12-20 13:52:11 -08:00
Jake Bailey
0e5927d5d3
Give suggestion for @types/bun when Bun global is not found (#56795) 2023-12-15 14:48:23 -08:00
Jan Kühle
ba9eddb0d1
isolatedModules error on global shadowed by imported type (#56732) 2023-12-13 10:32:59 -08:00
EliLichtblau
9063d7b41d
Error on export default of type: issue https://github.com/microsoft/TypeScript/issues/55087 (#55097)
Co-authored-by: eli lichtblau <elilichtblau@elis-MacBook-Pro.local>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2023-11-20 10:19:57 -08:00
Andrew Branch
a6367977d4
isolatedModules error on alias merging with local value (#56354) 2023-11-15 14:11:12 -08: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
Gabriela Araujo Britto
b1f5ef69e8
Improve error message for index signature on generic type when writing (#55906) 2023-10-18 17:43:43 -07:00
Ron Buckton
9cf44dc51a
Support custom 'Symbol.hasInstance' methods when narrowing 'instanceof' (#55052) 2023-09-29 13:37:44 -04:00
Anders Hejlsberg
c052bc7c72
Error on excessive relation complexity (#55851) 2023-09-26 15:57:57 -07:00
Oleksandr T
fbe426e7d3
change transpile to compile (#55881) 2023-09-26 15:32:49 -07:00
Andrew Branch
1b70ac32b2
Support resolution-mode overrides in type-only constructs in all moduleResolution modes (#55725) 2023-09-26 14:20:05 -07:00
Oleksandr T
2e9e9a292c
feat(53656): Add support for the updated import attributes proposal (#54242) 2023-09-26 13:20:15 -07:00
Jack Works
5f818a9031
fix: class field is not accessible via super (#54056)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-09-22 16:20:12 -07:00
Jake Bailey
45a05f3475
Support converting string literals to templates outside of concatenation (#54647) 2023-09-21 11:16:26 -07:00
Jake Bailey
0f91f7dff6
Run dprint on json (#55602) 2023-09-01 15:26:01 -07:00
Benny Neugebauer
3afb1e55f1
Consistently use ECMAScript and CommonJS wording (#55416) 2023-08-17 10:14:45 -07:00
Jack Works
cd391b066b
chore: disallows unicode escape sequence in JSX (#48609)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-08-09 15:59:39 -07:00
Oleksandr T
9b4aa3605d
fix(45901): Error 1064 should apply to @callback definitions in the same way as @param, but doesn't (#54625) 2023-07-25 10:17:53 -07:00
Joshua Chen
e4cc532e14
Make bodiless declarations an error in JS (#54439) 2023-06-30 16:53:51 -07: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
4cac28ed57
Remove unused diagnostic 2346 (#54442) 2023-06-26 11:43:09 -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
Oleksandr T
de6e6abbac
fix(54465): Broken emit with private field in class decorator (#54679) 2023-06-23 17:09:48 -04: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
Maria José Solano
31936ea36e
Add inline variable refactor (#54281) 2023-06-12 20:03:43 -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
Andrew Branch
23d48364e4
Add to module resolution tracing (#54478) 2023-06-01 10:03:40 -07:00
Andrew Branch
1e0b2f4912
Code fix should prefer import type (#54255) 2023-06-01 09:57:08 -07:00
Oleksandr T
ce1c97f4f0
fix(54283): Provide better UX when an invalid file is selected for 'move to file' refactoring (#54300) 2023-05-18 10:36:34 -07:00