35630 Commits

Author SHA1 Message Date
Anders Hejlsberg
869422f2a5 Accept new baselines 2024-02-29 16:19:44 -08:00
Anders Hejlsberg
a4ff6b4d87 Always bind flow nodes to return statements + other fixes 2024-02-29 16:19:27 -08:00
Dan Vanderkam
3ab6faef39
Drop isTriviallyNonBoolean, switch to simpler test, check for assertions 2024-02-25 19:08:00 -05:00
Dan Vanderkam
52df1158d9
Add test case for a predicate that throws 2024-02-23 11:15:04 -05:00
Dan Vanderkam
41f624d67e
revert back to CheckMode.TypeOnly 2024-02-23 11:13:59 -05:00
Dan Vanderkam
933605267c
circularity test is fixed 2024-02-23 10:52:40 -05:00
Dan Vanderkam
ef2d465047
Various fixes for circularity issue 2024-02-23 10:51:44 -05:00
Dan Vanderkam
a72b1f1743
add prisma circularity test with failing baseline 2024-02-23 10:50:48 -05:00
Dan Vanderkam
d0e385e8c7
add union type test to baselines 2024-02-21 17:31:13 -05:00
Dan Vanderkam
101df932d5
Add secondary subtype check and tests 2024-02-21 16:16:15 -05:00
Dan Vanderkam
e2684f1289
Run formatter 2024-02-21 11:44:55 -05:00
Dan Vanderkam
0c24ccc049
Infer type predicates from function bodies 2024-02-20 17:32:46 -05:00
Aiday Marlen Kyzy
60f93aa83a
Making Move To File Action appear less often (#57080) 2024-02-20 00:06:10 -08:00
TypeScript Bot
363abe8408 Update package-lock.json 2024-02-20 06:14:59 +00:00
Anders Hejlsberg
d04e3489b0
Improve apparent type of mapped types (#57122) 2024-02-18 14:46:37 -10:00
TypeScript Bot
86a16636ca Update package-lock.json 2024-02-17 06:14:05 +00:00
Mateusz Burzyński
feb57c269b
Instantiate earlier inferred constraints in conditional types (#57362) 2024-02-16 14:31:28 -08:00
Oleksandr T
91e67ffbea
fix(57392): using is not suggested as a keyword (#57394) 2024-02-16 14:12:17 -08:00
Mateusz Burzyński
29c0024bcf
Avoid creating rest elements with errorType when any is spread (#57116) 2024-02-16 14:05:33 -08:00
Oleksandr T
c18c1c20dc
fix(57302): Cannot move symbols from tsx to ts files (#57305) 2024-02-16 10:36:23 -08:00
TypeScript Bot
c4de2afcc2 Update package-lock.json 2024-02-16 06:14:39 +00:00
Dan Vanderkam
f41a5f5986
Preserve separators in numeric literals with target=ES2021+ (#57144) 2024-02-15 14:26:42 -08:00
hborchardt
da5f0fe9d4
Add missing members to array of objects in quickfix (#57143) 2024-02-15 11:49:38 -08:00
TypeScript Bot
67542c4c1f Update package-lock.json 2024-02-15 06:14:57 +00:00
dependabot[bot]
98348eaa89
Bump the github-actions group with 3 updates (#57411)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-14 19:01:50 -08:00
Jake Bailey
ec2c78c32b
Update TypeScript-Twoslash-Repro-Action action version (#57410) 2024-02-14 17:52:14 -08:00
Wesley Wigham
3de2cdce4d
Set NODE_ENV to development and not testing in launch template (#57407) 2024-02-14 10:50:54 -08:00
TypeScript Bot
db3d54ffbc Update package-lock.json 2024-02-14 06:15:21 +00:00
Sheetal Nandi
2f8b822c1f
Some of the fixes picked out from my work for file updates (#57401) 2024-02-13 13:18:34 -08:00
Sheetal Nandi
04fa4b5273
More logging of Script info state infromation for baselining for future script info updates improvements (#57398) 2024-02-13 12:38:30 -08:00
Abraham Guo
0b044f729f
When attaching JSDoc diagnostics, make sure to only include diagnostics that actually belong with the JSDoc (#57271) 2024-02-13 12:13:43 -08:00
Gabriela Araujo Britto
a6414052a3
Allow (non-assert) type predicates to narrow by discriminant (#57358) 2024-02-13 11:33:30 -08:00
Nathan Shively-Sanders
23960ac88c
Fix scripts/errorCheck.mjs (#57399) 2024-02-13 10:29:44 -08:00
TypeScript Bot
2a0edf7949 Update package-lock.json 2024-02-13 06:16:01 +00:00
Mateusz Burzyński
0b4966ab2a
Fixed type parameter leak in union calls with mixed type parameter presence (#57371) 2024-02-12 15:07:05 -08:00
PhoebeSzmucer
d65bdb8c34
Fix duplicated import suggestions (#57369)
Co-authored-by: Phoebe Szmucer <pszmucer@palantir.com>
2024-02-12 14:00:27 -08:00
TypeScript Bot
ae27e55b02 Update package-lock.json 2024-02-12 06:14:48 +00:00
TypeScript Bot
0d94c344fa Update package-lock.json 2024-02-11 06:14:42 +00:00
TypeScript Bot
25a708cf63 Update package-lock.json 2024-02-10 06:14:10 +00:00
Mateusz Burzyński
e2bf8b437d
Fixed distributive conditional types with never intersections (#57345) 2024-02-09 12:25:02 -08:00
TypeScript Bot
c5db0ac0ef Update package-lock.json 2024-02-09 06:14:38 +00:00
Andrew Branch
76cf0928f2
Expand anti-parent-barrel auto-import heuristic to all moduleResolution modes (#57342) 2024-02-08 11:12:35 -08:00
Oleksandr T
10a3872de4
fix(57326): 'resolves to a type-only declaration and must be imported using a type-only import' doesn't have a quick fix (#57327) 2024-02-07 15:17:29 -08:00
Andrew Branch
31bf80ce6b
Fix path completions missing extensions for exports wildcards (#57312) 2024-02-07 15:02:35 -08:00
Sheetal Nandi
1ca93fe78f
Tests for more state and remove some unnecessary logs (#57324) 2024-02-07 13:47:40 -08:00
TypeScript Bot
c790dc1dc7 Update package-lock.json 2024-02-07 06:14:33 +00:00
Sheetal Nandi
c3ff2661aa
Print original projects in baseline diff as they impact life time of the projects (#57315) 2024-02-06 16:42:17 -08:00
TypeScript Bot
763b5ebfd4 Update package-lock.json 2024-02-06 06:14:17 +00:00
Jan Kühle
bcef7eba53
Always emit Object type in decorator metadata for import type (#56594) 2024-02-05 16:40:50 -05:00
dependabot[bot]
2514a64bdb
Bump the github-actions group with 2 updates (#57295)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 10:19:06 -08:00