35195 Commits

Author SHA1 Message Date
Sheetal Nandi
c5cd2758fd
Use forEachResolvedModule in incremental utils (#55833) 2023-09-22 11:29:31 -07:00
Sheetal Nandi
dcb0fa7f44
Incremental testing for program structure and resolutions and fixes (#55814) 2023-09-22 10:53:19 -07:00
Sheetal Nandi
83f02a4b7e
Picking resolutions of module for sourceFile as method (#55818) 2023-09-22 10:24:37 -07:00
TypeScript Bot
b47022b997 Update package-lock.json 2023-09-22 06:26:02 +00:00
Jake Bailey
a3c5d5d37e
Make JSDoc skipping public, plus more configurable (#55739) 2023-09-21 15:31:09 -07:00
Mateusz Burzyński
56accb08a1
Fixed string completions that require escaping (#55118) 2023-09-21 15:05:34 -07:00
Andrew Branch
5b7b011518
Fix export path patterns with .d.ts target extensions in AutoImportProvider (#55815) 2023-09-21 15:03:11 -07:00
Nathan Shively-Sanders
cf084b6376
Fix CJS export of typedef and class w/latebound names (#55053) 2023-09-21 12:25:28 -07:00
Jake Bailey
45a05f3475
Support converting string literals to templates outside of concatenation (#54647) 2023-09-21 11:16:26 -07:00
TypeScript Bot
f3dad2a07d Update package-lock.json 2023-09-21 06:19:23 +00:00
Sheetal Nandi
ec1414f627
Source files not affected by all module resolution options (#55790) 2023-09-20 16:45:32 -07:00
Jake Bailey
bd902ea410
Add pre-commit dprint hook, fix post-checkout hook (#55799) 2023-09-20 13:39:19 -07:00
Nathan Shively-Sanders
190d70962a
Update DOM before 5.3 beta (#55798) 2023-09-20 11:24:51 -07:00
TypeScript Bot
2738fbf1e0 Update package-lock.json 2023-09-20 06:25:18 +00:00
Maria José Solano
0b82e1a03f
Interactive type inlay hints (#55141) 2023-09-19 22:50:11 -07:00
Jake Bailey
1a68590c9c
Mark more options as affecting errors/resolution (#53403)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2023-09-19 15:11:21 -07:00
Mateusz Burzyński
6e01b06616
Use const context in intersections containing const type variables (#55779) 2023-09-19 14:26:14 -07:00
Oleksandr T
79736eff89
fix(55258): JSDoc render with @param Object properties (#55264) 2023-09-19 14:00:32 -07:00
Mateusz Burzyński
1f88596bb1
Narrow by comparisons to boolean literals (#53714) 2023-09-19 13:38:31 -07:00
TypeScript Bot
7d9399e353 Update package-lock.json 2023-09-19 06:22:40 +00:00
Mateusz Burzyński
0464e91c8b
Fixed an issue with type-only import promoting (#55365) 2023-09-18 12:38:00 -07:00
Mateusz Burzyński
70b7de11fb
Narrow by clause expressions in switches with true condition (#53681) 2023-09-18 12:07:17 -07:00
TypeScript Bot
686cb1b63c Update package-lock.json 2023-09-17 06:24:40 +00:00
TypeScript Bot
89ab23a649 Update package-lock.json 2023-09-16 06:21:42 +00:00
Jake Bailey
9cbcf010ce
Ensure generated property names for methods named "new" are quoted (#55750)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2023-09-15 10:25:10 -07:00
Babak K. Shandiz
b3770e7852
🐛 Fix not emitting comments between sibling fields of object literals (#50097)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-09-14 21:29:34 -07:00
Liviu-Ionut Gheorghe
e654f9691a
Allow unescaped paragraph and line separators in string literal (#53869)
Co-authored-by: Liviu Gheorghe <liviu.gheorghe@ivfuture.uk>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-09-14 20:59:25 -07:00
Mateusz Burzyński
e9af22ace9
Consistently return errorType for super expressions in classes that extend null (#55506) 2023-09-14 19:31:50 -07:00
Anders Hejlsberg
58650d97c5
Fix narrowing of destructured tuples with different arities (#55744) 2023-09-14 13:06:48 -07:00
Sheetal Nandi
fc418a2e61
Special case "/workspaces" for watching root so that codespaces work correctly (#55738) 2023-09-14 11:34:19 -07:00
Jake Bailey
47e4448d57
Fix playright browser installs due to upstream breaking change (#55740) 2023-09-14 08:44:55 -07:00
TypeScript Bot
a563de9e49 Update package-lock.json 2023-09-14 06:18:46 +00:00
Mateusz Burzyński
e6321d77c7
Fixed element access expression writes for divergent write types (#55585) 2023-09-13 16:14:07 -07:00
Jake Bailey
c0b39c6967
Skip parsing JSDoc when not needed (#52921)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2023-09-13 15:58:20 -07:00
Mateusz Burzyński
21b8892d21
Fixed an issue with errors not being correctly reported after completion requests in functions within nested calls (#54944) 2023-09-13 15:48:40 -07:00
Oleksandr T
05fdb5f671
fix(54266): Navtree doesn't return computed class members (#54271) 2023-09-13 14:50:48 -07:00
Andrew Branch
07bca994fa
Avoid unnecessary resolution-mode assertion in declaration emit (#55727) 2023-09-13 13:31:19 -07:00
Jake Bailey
b9b5d16bd5
Add friendly name to intrinsics in debug helpers (#55554) 2023-09-13 12:42:44 -07:00
Mateusz Burzyński
4c34a181c3
Fixed declaration emit for expando properties on function declarations declared using element access expressions (#55183) 2023-09-13 12:07:33 -07:00
Mateusz Burzyński
647c41d26e
Fixed JSDoc get-only accessors to be serialized as const (#55444) 2023-09-13 11:38:56 -07:00
Mateusz Burzyński
f996bab056
Preserve readonly on mapped index signatures (#55541) 2023-09-13 11:34:50 -07:00
Zzzen
811a637e6f
Fix issue with optional chaining and type inference in type guard (#55613) 2023-09-13 11:28:26 -07:00
Mateusz Burzyński
543d7ed00c
Fixed display of optional and rest parameters created as result of combining union parameters (#55625) 2023-09-13 11:25:19 -07:00
Jake Bailey
3f0c62bf02
Fix test harness bugs hidden by method behavior (#55723) 2023-09-13 10:15:14 -07:00
Jack Works
e7bb0ebfac
refactor: let exportMapKey accepts bad symbol name (#54678) 2023-09-13 09:39:05 -07:00
Sheetal Nandi
3ade5022d7
Fix file matching with tsx and dts of same name are included by include patterns (#55690) 2023-09-12 13:10:34 -07:00
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