Commit Graph

34518 Commits

Author SHA1 Message Date
Jake Bailey
9dfd5ea221 Bump TS devDep to 5.0 RC to fix eslint (#53243) 2023-03-14 08:30:19 -07:00
TypeScript Bot
bbb8348c25 Update package-lock.json 2023-03-14 06:07:21 +00:00
Jake Bailey
e1488fe915 Don't recommend installing typescript package globally in README (#53209) 2023-03-13 13:07:58 -07:00
TypeScript Bot
ac60ca7f78 Update package-lock.json 2023-03-13 06:07:19 +00:00
TypeScript Bot
32d2253e37 Update package-lock.json 2023-03-12 06:06:28 +00:00
TypeScript Bot
041b0db8f4 Update package-lock.json 2023-03-11 06:06:19 +00:00
Sheetal Nandi
46d70d79cd When resolving type reference from custom typeRoot localtion use mangled scope name if the package is scoped name (#53166) 2023-03-10 09:58:41 -08:00
Jake Bailey
42d23390e2 Remove declares in sys, core, evaluatorImpl (#53176) 2023-03-10 09:57:32 -08:00
Mateusz Burzyński
e7753831e9 Filter out non-array types when contextually typing array literal elements (#52589) 2023-03-10 09:34:03 -08:00
TypeScript Bot
a8ffab2f30 Update package-lock.json 2023-03-10 06:07:07 +00:00
Jake Bailey
29c4b5e231 Fix build watch task in tasks.json post-LKG removal (#53190) 2023-03-09 16:35:17 -08:00
Jake Bailey
ddcbd9ffbd Remove old references to Node v4, small cleanup of node version stuff (#53174) 2023-03-09 14:32:15 -08:00
Jake Bailey
7898cc1866 Set package.json minimum to Node 12.20 (#53183) 2023-03-09 14:27:13 -08:00
Jake Bailey
39d9fdce6c Fix ThirdPartyNoticeText.txt encoding (#53184) 2023-03-09 13:05:02 -08:00
Nathan Shively-Sanders
bb566f9977 DOM update 2023-03-07 (#53133) 2023-03-09 11:00:11 -08:00
Oleksandr T
0e3e14d39e fix(52992): no add missing properties quick for nested object literal (#53004) 2023-03-09 10:00:55 -08:00
Oleksandr T
2ab9e7edd9 fix(53011): Illegal declaration file can be emitted (duplicate parameter names) when spreading tuples into parameter positions (#53028) 2023-03-09 09:47:49 -08:00
Mateusz Burzyński
d681520a14 Fixed array expression spreads into variadic const calls (#52845) 2023-03-08 14:45:58 -08:00
Mateusz Burzyński
615a97b1d4 Add an extra test for excess property check for intersection containing a recursive type (#53100) 2023-03-08 12:34:47 -08:00
navya9singh
74a37f8203 Fix(49702): LS crash in binder for module in a JS file (#52537) 2023-03-08 09:42:18 -08:00
Zzzen
0ce551752d check computed property names in overloads (#52427) 2023-03-08 09:20:33 -08:00
Jake Bailey
746a6feb2e Fix smoke test failure due to bad git restore post-LKG-deletion (#53156) 2023-03-07 17:15:10 -08:00
Mateusz Burzyński
6e4f0a430e Fix string completions depending on contextual signatures (#52717) 2023-03-07 16:42:16 -08:00
Mateusz Burzyński
f555ad73db Fix property completion in unions of object types and string mappings (#52767) 2023-03-07 16:36:37 -08:00
Nathan Shively-Sanders
137c461bd0 Scan bigger/fewer jsdoc tokens (#53081) 2023-03-07 16:32:04 -08:00
jihndai
4af97b0572 Fix compound assignments for properties with different getter & setter types (#50431) 2023-03-07 16:02:16 -08:00
Nathan Shively-Sanders
d747277edf Skip derived override assignment declarations (#52603) 2023-03-07 15:40:43 -08:00
Mateusz Burzyński
88adf8014b Make special intersections order-independent (#52782) 2023-03-07 15:39:14 -08:00
Jake Bailey
3f4d16a25e Remove lib folder (LKG) and use node_modules for building (#52226) 2023-03-07 15:34:47 -08:00
Mateusz Burzyński
2f229ab870 Add an extra test for contextually typed return of async function (#52613) 2023-03-07 15:30:40 -08:00
Nathan Shively-Sanders
ff1e08f859 Rename scanner token methods (#53078) 2023-03-07 13:54:44 -08:00
Jake Bailey
3236ac9336 Add NullKeyword to isPartOfTypeNode, mirroring UndefinedKeyword (#53025) 2023-03-07 12:03:09 -08:00
Jake Bailey
a6be79d535 Remove old test262 and dt runner infra (#53125) 2023-03-07 11:59:47 -08:00
Oleksandr T
0e34f187c8 fix(52443): Regression: constructor accessor not allowed on plain objects (#52452) 2023-03-07 11:22:09 -08:00
Andrew Branch
8458a61007 Make ModuleResolutionKind.Node10 change backward-compatible (#53139) 2023-03-07 11:20:53 -08:00
Oleksandr T
02cf0b68b7 fix(52879): No autocompletions after the typeof keyword inside JSDoc comments. (#52973) 2023-03-07 10:52:23 -08:00
Jake Bailey
868331f2be Fix deprecations, improve messaging (#52993) 2023-03-07 09:39:45 -08:00
Mateusz Burzyński
4ee8b0f315 Report excess property errors on object literal names (#53129) 2023-03-07 09:31:31 -08:00
Vitaly
b1f25a2bdb Move to New File: Respect Quote Style in import updates (#52974) 2023-03-07 09:23:02 -08:00
Jake Bailey
74e61d36ad Fix script compile (#53136) 2023-03-07 08:55:50 -08:00
sstchur
5e898eb63d Expose getStringLiteralType and getNumberLiteralType on the TypeChecker, plus remove /** @internal */ from several useful methods. (#52473)
Co-authored-by: Stephen Stchur <stchur@microsoft.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2023-03-07 08:41:55 -08:00
Mateusz Burzyński
9f8a160d53 Attach commit as package.json#gitHead in prerelease versions (#47932) 2023-03-07 08:35:16 -08:00
Mateusz Burzyński
6dbec02a88 Add extra test cases for the Awaited type (#53090) 2023-03-06 23:14:57 -08:00
TypeScript Bot
df1ddb7964 Update package-lock.json 2023-03-07 06:06:48 +00:00
Jake Bailey
6a39f912d6 Remove docker and user tests, related infra (#53118) 2023-03-06 19:59:21 -08:00
Mateusz Burzyński
967911c389 Report assignability errors on the return/yield keywords (#52943) 2023-03-06 16:50:47 -08:00
Oleksandr T
5240f060b8 feat(52569): fixUnusedIdentifier: Unwanted side-effects when removing an unused destructuring declaration containing a function call (#52951) 2023-03-06 15:41:13 -08:00
Mateusz Burzyński
7e4592ea09 Add an extra test case for deferred conditional types (#53067) 2023-03-06 13:46:11 -08:00
Mateusz Burzyński
61a8e2c5b7 Add a test for an error on required JSX children when an empty JSX expression is used (#53113) 2023-03-06 13:24:15 -08:00
Jake Bailey
79ef86fcac Mark binder as pure to tree shake in typingsInstaller (#53107) 2023-03-06 12:06:55 -08:00