35135 Commits

Author SHA1 Message Date
Jake Bailey
4b177a186a
Ensure readJson in build throws when errors are present (#55466) 2023-09-06 11:19:33 -07:00
TypeScript Bot
6d52028287 Update package-lock.json 2023-09-06 06:18:07 +00:00
TypeScript Bot
3f17500cbf Update package-lock.json 2023-09-05 06:18:49 +00:00
TypeScript Bot
5d04803196 Update package-lock.json 2023-09-03 06:21:16 +00:00
TypeScript Bot
e36394115d Update package-lock.json 2023-09-02 06:20:49 +00:00
Zzzen
c68d1dd942
error on duplicate symbols in classes (#55438) 2023-09-01 16:25:22 -07:00
Jake Bailey
0f91f7dff6
Run dprint on json (#55602) 2023-09-01 15:26:01 -07:00
TypeScript Bot
512d6328e1 Update package-lock.json 2023-09-01 06:23:14 +00:00
Hardik Koul
dce7b6d2e7
Prevents auto import in module: "none" (#55556)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2023-08-31 09:18:26 -07:00
Jake Bailey
45e5a45d87
Add dprint to devcontainer (#55581) 2023-08-30 17:04:28 -07:00
Gabriela Araujo Britto
cbadc78f96
Return all symbols in navto for empty string pattern (#55550) 2023-08-30 15:30:38 -07:00
Oleksandr T
fe82a610cd
fix(55014): Quick fix for ts7051 introduces incorrect type (#55020) 2023-08-30 15:17:43 -07:00
Mateusz Burzyński
f424a6be05
Discriminate types with divergent read/write property types (#55576) 2023-08-30 14:55:11 -07:00
TypeScript Bot
08e0eb74e6 Update package-lock.json 2023-08-30 06:19:30 +00:00
Zzzen
c5f92d4150
support generic variant setter (#55030) 2023-08-29 14:11:33 -07:00
Jake Bailey
23c9752367
Make formatting settings in settings template apply to all filetypes (#55419) 2023-08-29 13:14:32 -07:00
TypeScript Bot
7c417bfd1d Update package-lock.json 2023-08-29 06:23:18 +00:00
Mateusz Burzyński
9f9a72a2eb
Disallow object prototype property access on const enums (#55424) 2023-08-28 19:29:52 -07:00
Mateusz Burzyński
418494e4c4
Infer from parameters annotated using JSDoc (#55400) 2023-08-28 16:02:52 -07:00
Mateusz Burzyński
32ebbe05dc
Transfer all declared symbols onto the type from the interface that extends another (#55252) 2023-08-28 15:17:44 -07:00
Mateusz Burzyński
9a6a4ab1d5
Fixed a string completions regression when requested directly in argument position (#55552) 2023-08-28 15:04:06 -07:00
Mateusz Burzyński
fe70ec984e
Parse reserved identifiers as dotted names of ambient modules (#55282) 2023-08-28 14:48:20 -07:00
Jake Bailey
b5b6048bb3
Clean up helpers which are always present in ES2020 (#55515) 2023-08-28 12:26:22 -07:00
Wesley Wigham
5ce34cafad
Avoid trying to emit anonymous classish/expando functions as assignments (#55472) 2023-08-28 12:15:53 -07:00
Oleksandr T
9d0dc77712
fix(55494): Invalid declaration with computed property using imported symbol (#55529) 2023-08-28 11:40:03 -07:00
Zzzen
788239ff87
do not report use-before-declaration error in async like IIFE initial… (#55279) 2023-08-28 10:47:32 -07:00
Jake Bailey
4d7753ae3e
Ensure parsing context is restored in jsdoc parser (#55537) 2023-08-28 09:52:54 -07:00
Mateusz Burzyński
4b15830a1f
Add an extra test for as const satisfies with a mutable array (#55522) 2023-08-28 00:02:00 -07:00
TypeScript Bot
11b2313a12 Update package-lock.json 2023-08-28 06:18:04 +00:00
Mateusz Burzyński
27a5bdd446
Add a test for finding all references of same-named imports from two missing modules (#55519) 2023-08-26 08:58:48 -07:00
Mateusz Burzyński
270a471e11
Add a test case with a generic member call returning a closed over object (#55514) 2023-08-26 08:57:57 -07:00
Mateusz Burzyński
5b9547b1ba
Add a fourslash completions test related to JSDoc @template on prototype method (#55513) 2023-08-26 08:57:45 -07:00
Anders Hejlsberg
753c463821
Only infer readonly tuples for const type parameters when constraints permit (#55229)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2023-08-26 08:20:55 -07:00
TypeScript Bot
51e7a34c2c Update package-lock.json 2023-08-26 06:22:45 +00:00
Sampo Kivistö
ec2bd4e252
perf: replace String and Array indexOf method calls with includes method call (#55482) 2023-08-25 11:27:55 -07:00
TypeScript Bot
c3c5abb3a7 Update package-lock.json 2023-08-25 06:18:32 +00:00
Mateusz Burzyński
e0a324b050
Don't parse DotDotDotToken in JSX attribute values (#55284) 2023-08-24 10:17:33 -07:00
Jake Bailey
91c0d7ff9b
Avoid resolving objects in getTypeFacts when caller doesn't need that info (#55459) 2023-08-24 10:12:28 -07:00
Shinichi Katayama
98d7e0b936
Fix double error on invalid delete of readonly property (#55449) 2023-08-24 09:57:22 -07:00
Mateusz Burzyński
fecbae5d2e
Fixed a regression in serializing setters with non-function declarations in JS files (#55492) 2023-08-24 09:45:58 -07:00
Mateusz Burzyński
f07077c7ff
Fixed a redundant used before defined error (#55283) 2023-08-24 08:35:48 -07:00
TypeScript Bot
769f2daf71 Update package-lock.json 2023-08-24 06:17:37 +00:00
Jake Bailey
eb33c8e56a
Fix typo in getScriptTargetFeatures map (#55488) 2023-08-23 22:51:11 -07:00
Oleksandr T
daa7e985f5
fix(55434): Renamed field takes on documentation from other field with the same name (#55469) 2023-08-23 17:02:40 -07:00
Jake Bailey
76f3f47b8b
Remove use of fs-extra (#55468) 2023-08-23 16:42:45 -07:00
Jimmy Wärting
3a22d3aded
Remove the dependency of "del" (#55112)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-08-23 16:42:37 -07:00
Maria José Solano
5fe88ea044
[Interactive inlay hints] Get source file from parameter node (#55476) 2023-08-23 16:40:49 -07:00
Jake Bailey
12d9f04d33
Remove perf-result-post (#55470) 2023-08-23 16:11:30 -07:00
Sampo Kivistö
768f59296d
perf: reduce GC pressure by hoisting script target features object (#55484)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-08-23 16:06:20 -07:00
Anders Hejlsberg
fcaa900012
Fix check in getDiscriminantPropertyAccess (#55464) 2023-08-23 11:43:41 -07:00