34852 Commits

Author SHA1 Message Date
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
Emma Hamilton
d49a28534a
Use custom conditions in path completions (#54332) 2023-06-01 16:16:50 -07:00
Oleksandr T
b03926ea78
fix(54411): Compiled code contain jsx code (#54425) 2023-06-01 14:01:25 -04: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
Ron Buckton
4c01b2f9ee
Fix incorrect 'this' substitution in decorated static 'accessor' fields (#54474) 2023-05-31 18:17:43 -04:00
Oleksandr T
d495200a4a
fix(54366): bug: getCodeFixesAtPosition fails when TS2339 diagnostic paired with large pojo; Debug Failure. False expression: Token end is child end (#54432) 2023-05-30 13:47:31 -07:00
Andrew Branch
fec0bd3275
Resolve tslib re-exports before checking arity (#54450) 2023-05-30 13:47:06 -07:00
Daniel Rosenwasser
63a210bd1d
Use replaceAll instead of an incorrect RegExp for tsserver log sanitization. (#54454) 2023-05-30 12:51:56 -07:00
Isabel Duan
0b170d09fe
delete extra comments in tests (#54452) 2023-05-30 12:08:23 -07:00
TypeScript Bot
4bf0476800 Update package-lock.json 2023-05-30 06:18:24 +00:00
Isabel Duan
ca0fafd694
add baseline for linked editing (#54315) 2023-05-26 16:01:29 -07:00
Jake Bailey
544d43286a
Fix fs.watch callback type for new @types/node (#54417) 2023-05-26 15:29:11 -07:00
Oleksandr T
d762534463
fix(54383): Declare method quick fix not returned for #private method (#54400) 2023-05-26 10:06:20 -07:00
Maria José Solano
98ed0eb94c
Localize refactor descriptions (#54379) 2023-05-26 10:06:12 -07:00
Mateusz Burzyński
2f626bff03
Elaborate errors on const asserted expressions (#54396) 2023-05-26 10:05:33 -07:00
Anders Hejlsberg
f5ab714d1f
Suppress error caused by intermediate types in getTypeOfExpression (#54380) 2023-05-26 09:30:06 -07:00
TypeScript Bot
fb7efcfe06 Update package-lock.json 2023-05-26 06:17:23 +00:00
Sheetal Nandi
c64a378ef9
Handle already released source files that dont match scriptKind (#54401) 2023-05-25 15:58:22 -07:00
Russell Davis
da686774dc
Formatter: fix indentation of comments at end of range (#54250) 2023-05-25 13:13:53 -07:00
Jake Bailey
bd9992a33d
Revert GHA fail-fast for OpenSSF workflow (#54382) 2023-05-25 11:08:56 -07:00
Oleksandr T
1a8c7ae447
fix CI build (#54386) 2023-05-25 10:22:05 -07:00
Oleksandr T
8db251fb47
fix(52517): JSDoc Comment Template not provided when unrelated JSDoc with tag exists (#54132) 2023-05-24 16:19:49 -07:00
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