35209 Commits

Author SHA1 Message Date
Sheetal Nandi
4ec809da37
Fix issue with trailing directory separator not present if symlink wasnt detected by program (#55865) 2023-09-25 16:52:27 -07:00
Ron Buckton
d7b4cee7df
Include source node inferences in string literal completions (#54121)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2023-09-25 18:29:29 -04:00
TypeScript Bot
55d8bed85c Update package-lock.json 2023-09-25 06:20:58 +00:00
TypeScript Bot
97147915ab Update package-lock.json 2023-09-24 06:24:19 +00:00
Jake Bailey
e44ecbc289
Make unchangedTextChangeRange const (#55836) 2023-09-23 16:17:44 -07:00
Ron Buckton
956a363028
Emit source positions for open/close braces (#47924) 2023-09-23 02:41:44 -04:00
TypeScript Bot
c067dee5c7 Update package-lock.json 2023-09-23 06:19:35 +00:00
Jack Works
5f818a9031
fix: class field is not accessible via super (#54056)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-09-22 16:20:12 -07:00
Oleksandr T
e743d070ea
fix(55404): Remove braces from arrow function" generates invalid code in JavaScript (#55429)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-09-22 16:14:06 -07:00
Nathan Shively-Sanders
982f8be6f2
More did-you-mean errors on classes in plain JS (#49827) 2023-09-22 16:12:21 -07:00
Gerrit Birkeland
da8b54d831
Expose Signature.thisParameter (#53628)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-09-22 15:51:41 -07:00
Sheetal Nandi
934216f968
Support using client watch in tsserver using events (#54662) 2023-09-22 14:25:40 -07:00
Jake Bailey
4c965433b6
Partially revert PR 55723 to fix OOM in testing (#55822) 2023-09-22 11:57:01 -07:00
Oleksandr T
ec2acc9f8a
fix(55823) - Remove Braces From Arrow function fails when using satisfies (#55831) 2023-09-22 11:32:56 -07:00
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