35176 Commits

Author SHA1 Message Date
Sheetal Nandi
dde2085d0d Add check for actually present directories to make sure projects with config file can still share resolutions if they are not hoisting their own node_modules
This is still problem because every npm install will create new source files depending on how and when we do project update and program is not reused
2023-09-15 15:38:43 -07:00
Sheetal Nandi
7aafb5c45d Make caching info log deterministic order 2023-09-15 13:19:08 -07:00
Sheetal Nandi
9c46cac902 Some tests for module resolution sharing in tsbuild scenario 2023-09-15 11:13:58 -07:00
Sheetal Nandi
81b57c9889 Add current directory or config file path directory if typeroots are not specified to the key for compiler options 2023-09-15 11:13:58 -07:00
Sheetal Nandi
ddaf1c77fc Add test where source file as well as module resolution cache is shared with change in effective type roots 2023-09-15 11:13:57 -07: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
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