34825 Commits

Author SHA1 Message Date
Oleksandr T
8ea3887f70
fix(54155): "Move to file" does not carry all function overload and implementation signatures (#54164) 2023-05-24 16:17:43 -07:00
Zzzen
f4c2a227a7
fix flow type of this inside arrow function (#54236) 2023-05-24 15:57:36 -07:00
Oleksandr T
bb74c60723
feat(54190): Convert to template string quick fix not available in assignment expressions (#54210) 2023-05-24 15:42:07 -07:00
Oleksandr T
6cbe2e02a4
fix(54085): Cannot navigate down object hierarchy if an interface is not directly implemented (#54108) 2023-05-24 14:06:25 -07:00
Gabriela Araujo Britto
e7d62e57aa
Don't use text change's createNewFile for existing empty file (#54358) 2023-05-24 12:26:11 -07:00
Oleksandr T
13169870b4
fix(54152): Cannot use const enum to define an interface key in isolatedModules mode (#54165) 2023-05-24 12:14:19 -07:00
Jake Bailey
4c82d918bc
Don't linearly search for fresh param in getConditionalType (#53662) 2023-05-24 11:41:20 -07:00
Mateusz Burzyński
7baf6cd120
Avoid infinite recursion when instantiating circular inline mapped generic tuple type (#53522) 2023-05-24 11:41:04 -07:00
Mateusz Burzyński
fefcb81d48
Add extra tests for recursive conditional types (#54030) 2023-05-24 10:50:10 -07:00
Mateusz Burzyński
1518cd98f4
Fixed declaration emit for undefined properties inferred from functions in other array elements (#53938) 2023-05-24 10:19:01 -07:00
TypeScript Bot
2beeb8b931 Update package-lock.json 2023-05-23 06:17:35 +00:00
Mateusz Burzyński
1561701b9f
Allow to define valid static fields with names conflicting with builtin properties (#54198) 2023-05-22 16:44:24 -07:00
João Nuno Mota
0d262616f3
Add extra Date.UTC signature to reflect ES2017 changes (#54125) 2023-05-22 16:23:08 -07:00
Ruben Tytgat
0bfc9f51ec
Fix a logic-changing typo in getRecursionIdentity (#54321) 2023-05-22 10:34:05 -07:00
TypeScript Bot
996aeb6aaf Update package-lock.json 2023-05-22 06:22:28 +00:00
TypeScript Bot
b1ef88c882 Update package-lock.json 2023-05-21 06:17:42 +00:00
Anders Hejlsberg
6f7704e0e2
Properly handle typeof this.xxx in isTypeParameterPossiblyReferenced (#54208) 2023-05-20 09:37:35 -04:00
Anders Hejlsberg
1ea21e1ef1
Fix isGenericReducibleType to allow HKT technique to function again (#54112) 2023-05-20 09:36:38 -04:00
TypeScript Bot
04cdffdd27 Update package-lock.json 2023-05-20 06:17:06 +00:00
Jake Bailey
22bf9c49ab
Ensure GHA jobs fail fast in scripts (#54142) 2023-05-19 18:22:00 -07:00
Anders Hejlsberg
215fe6ef75
Fix creation of composite union type predicates (#54169) 2023-05-19 16:15:46 -04:00
Andrew Branch
2b7d517907
Resolve re-exports when looking for tslib helpers (#54317) 2023-05-19 10:13:53 -07:00
TypeScript Bot
ae33099f25 Update package-lock.json 2023-05-19 06:23:13 +00:00
Sheetal Nandi
d210074c88
Make sure order of watches in baseline is fixed instead of depending on when it was added (#54313) 2023-05-18 13:01:11 -07:00
Sheetal Nandi
d01a1c3081
Fix the sample test which lead to discripancy with incremntal build because of error (#54311) 2023-05-18 12:02:42 -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
TypeScript Bot
174599c554 Update package-lock.json 2023-05-18 06:21:10 +00:00
Gabriela Araujo Britto
24ac9e75c2
Improve class member snippet completions and keyword completions interaction (#52525) 2023-05-17 15:14:34 -07:00
Ron Buckton
b14264a2eb
Reverse order of decorator-injected initializers (#54269) 2023-05-17 17:12:13 -04:00
TypeScript Bot
dddd0667f0 Update package-lock.json 2023-05-17 06:18:29 +00:00
Mateusz Burzyński
074f20877d
Fix JSX inference with excess properties (#53810) 2023-05-16 15:30:50 -07:00
Wesley Wigham
b0c80207ac
Add fallback logic for generating signatures for unions of array members (#53489) 2023-05-16 15:12:37 -07:00
TypeScript Bot
58f030072e Update package-lock.json 2023-05-16 06:18:25 +00:00
Mateusz Burzyński
d3513ee5c4
Improved go to type definition on type references of global container-like types using allowlist (#53729) 2023-05-15 13:40:18 -07:00
Mateusz Burzyński
cb88998063
Evaluate simple template expressions (#53907) 2023-05-15 12:51:06 -07:00
Daniel Rosenwasser
dad9ae0ce8 Bump version to 5.2 and update baselines. 2023-05-15 17:53:13 +00:00
TypeScript Bot
8fae437660 Update package-lock.json 2023-05-15 06:19:20 +00:00
TypeScript Bot
0aa49c152d Update package-lock.json 2023-05-14 06:17:23 +00:00
TypeScript Bot
b4e628765d Update package-lock.json 2023-05-13 06:19:43 +00:00
Gabriela Araujo Britto
48328caa71
Cache expression type when checking assertion (#54224) 2023-05-12 17:22:34 -07:00
Andrew Branch
f0ff97611f
isolatedModules does not imply every file is a module (#54218) 2023-05-12 15:14:49 -07:00
Jake Bailey
08285abaec
Revert octokit pinning now that the package is fixed (#53966) 2023-05-12 09:25:09 -07:00
Ryan Cavanaugh
72730f451d
Update Bug_report.md (#54153) 2023-05-12 08:48:10 -07:00
TypeScript Bot
a404f3d780 Update package-lock.json 2023-05-12 06:20:14 +00:00
Nathan Shively-Sanders
b52e912601
move some tests that depend on tsserver into tsserver/ (#54219) 2023-05-11 15:48:17 -07:00
Nathan Shively-Sanders
72037a9796
Skip resolving files directly inside node_modules (#52809) 2023-05-11 08:16:17 -07:00
TypeScript Bot
d1b040d1bf Update package-lock.json 2023-05-11 06:17:50 +00:00
TypeScript Bot
53625212d9 Update package-lock.json 2023-05-10 06:17:04 +00:00
navya9singh
d7b8662f4d
Fix for formatter crash for Move to file (#54199) 2023-05-09 14:01:59 -07:00
Sheetal Nandi
8b825f7aaa
Handle module node found error reporting in incremental and watch scneario (#54115) 2023-05-09 13:42:26 -07:00