Commit Graph

35149 Commits

Author SHA1 Message Date
Sheetal Nandi
3bc41784f0 Fix issue with wildcard with supported extensions when plugins add external files and override getScriptKind to add script kinds for the additional extensions (#55716) 2023-09-12 11:52:49 -07:00
Oleksandr T
a0c51b5336 fix(55694): format issues (#55721) 2023-09-12 11:36:03 -07:00
TypeScript Bot
d1738cef6f Update package-lock.json 2023-09-12 06:17:49 +00:00
Jake Bailey
26704c6f63 Update dprint to 0.41 and bump plugins (#55580) 2023-09-11 17:59:07 -07:00
Mateusz Burzyński
4b0f54fe9f Fixed cache key computation for tuple target types with partially named members (#55695) 2023-09-11 14:41:08 -07:00
Anders Hejlsberg
4f899a1691 Track recursive homomorphic mapped types by the symbol of their target (#55638) 2023-09-11 14:03:00 -07:00
PhoebeSzmucer
eb2d1f93f2 Fix an off-by-one error in getBaseDirectoriesFromRootDirs (#55233)
Co-authored-by: Phoebe Szmucer <pszmucer@palantir.com>
2023-09-11 07:57:50 -07:00
TypeScript Bot
fdb2531c0b Update package-lock.json 2023-09-09 06:17:43 +00:00
Sheetal Nandi
dd18dc1dac If outDir is not specified, dont need to include json files explicitly in the config since they will not be emitted (#55389) 2023-09-08 12:23:13 -07:00
TypeScript Bot
eb374c28d6 Update package-lock.json 2023-09-08 06:18:22 +00:00
Mustafa Ateş Uzun
c532603633 fix: type key typo (#55443) 2023-09-07 14:53:19 -07:00
Gabriela Araujo Britto
b5d6aa73d1 Add option to exclude library symbols from navTo results (#55605) 2023-09-07 11:19:56 -07:00
Aaron Junker
6cc605fcfe Update SECURITY.md from 0.0.5 to 0.0.9 (#55651) 2023-09-06 13:19:32 -07:00
Jake Bailey
41a914f00d Don't debug assert on broken link in moduleNameResolver (#55649) 2023-09-06 12:00:18 -07:00
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