Wesley Wigham
1cee9731d2
Properly support scoped package self name lookups ( #46212 )
2021-10-05 12:41:44 -07:00
Wesley Wigham
47cd4d3ecf
Only set package data map under watch mode ( #46211 )
2021-10-05 11:13:26 -07:00
Wesley Wigham
a0cf126513
Limit package.json realpath lookup to only successful resolutions ( #46209 )
2021-10-05 10:24:08 -07:00
chenjigeng
d60747f043
Feat/quick fix for types ( #42126 )
...
* feat: add quick fix for types
* feat: add test case for quick fix of types
* feat: add did-you-mean error when Cannot_find_name_0 and Cannot_find_namespace_0
* feat: add Cannot_find_namespace_0_Did_you_mean_1 error and only suggest when resolve type
* feat: update baselines
* feat: update baselines
* feat: update baselines
* chore: fix style problem
* Always suggest spelling corrections
* suggest primitives instead of their wrappers
* Add primitives to suggestions
Instead of altering wrappers to look like primitives.
* add semicolons
* revert unneeded change
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2021-10-05 08:14:16 -07:00
TypeScript Bot
ee24e2ee7e
Update package-lock.json
2021-10-05 06:06:56 +00:00
csigs
5423501c37
LEGO: Merge pull request 46203
...
LEGO: Merge pull request 46203
2021-10-04 10:14:44 -07:00
TypeScript Bot
91117b6763
Update package-lock.json
2021-10-04 06:07:14 +00:00
TypeScript Bot
a0b6eadda0
Update package-lock.json
2021-10-03 06:06:00 +00:00
csigs
66182554c8
LEGO: Merge pull request 46179
...
LEGO: Merge pull request 46179
2021-10-02 22:14:20 -07:00
csigs
f3cc868499
LEGO: Merge pull request 46178
...
LEGO: Merge pull request 46178
2021-10-02 16:14:17 -07:00
csigs
33581aedbd
LEGO: Merge pull request 46173
...
LEGO: Merge pull request 46173
2021-10-02 04:15:28 -07:00
csigs
49fbeefcf1
LEGO: Merge pull request 46170
...
LEGO: Merge pull request 46170
2021-10-01 22:17:03 -07:00
csigs
a6af833d14
LEGO: Merge pull request 46168
...
LEGO: Merge pull request 46168
2021-10-01 16:14:26 -07:00
Or Ouziel
b2d2f085e2
improve response time of invalid rename attempts ( #46158 )
...
* improve response time in invalid rename attempts
* account for simplifiedResult and revert unrelated change
2021-10-01 15:07:54 -07:00
Wesley Wigham
a02a7ab8e9
Follow and respect export maps when generating module specifiers ( #46159 )
...
* Follow and respect export maps when generating module specifiers
* Type baseline updates from master merge
2021-10-01 13:54:07 -07:00
csigs
9ed49b6ba7
LEGO: Merge pull request 46161
...
LEGO: Merge pull request 46161
2021-10-01 10:13:58 -07:00
Orta Therox
1a000c8422
Fix main ( #46160 )
2021-10-01 09:50:00 -07:00
Wesley Wigham
ccc19092ff
Modify synthetic default generation code for dual-mode module resolution ( #46156 )
2021-10-01 09:18:44 -07:00
Orta Therox
016d78b09e
Allow for class static vars to be called static ( #44813 )
...
* Allow for class static vars to be called static - re: #41127
* Add the baselines
2021-10-01 14:28:08 +01:00
Alex Munoz
95ef2a503d
feat: display the tsconfig generated when running tsc --init ( #45930 )
...
* feat: display the tsconfig generated when running tsc --init
* fix: fix lint issues
* refactor: minor changes
2021-10-01 14:08:06 +01:00
Joel Einbinder
46a12fdb8a
fix(sourcemap): accept a sourceMappingURL that ends with a newline ( #45983 )
...
* fix(sourcemap): accept a sourceMappingURL that ends with a newline
* Update src/compiler/sourcemap.ts
Co-authored-by: Wesley Wigham <wwigham@gmail.com>
2021-10-01 05:16:05 -07:00
TypeScript Bot
cadd115a55
Update package-lock.json
2021-10-01 06:06:44 +00:00
Wesley Wigham
612c92d603
Track source and target relationship stack depth seperately, only increase on change in value ( #41821 )
...
* Track source and target relationship stack depth seperately, only increase on change in value
* Add baselines for test from #43485
* Bail on unwrapping conditional constraints on the source side when the source conditional is already known to be spooling out of control
* More usage of isDeeplyNestedType to block _specifically_ conditional recursion on only one side
* Negative cases of getNarrowedType that match the exact type should be filtered out, even when generic
* Add test and fix for #44404
* Swap to manually specifying left and right recursion
* Rename Left -> Source, Right -> Target
Co-authored-by: Andrew Branch <andrew@wheream.io>
2021-09-30 16:58:40 -07:00
Andrew Branch
96f259ddcc
Minimal fix for auto-importing node_modules in node12/nodenext ( #46148 )
2021-09-30 13:42:06 -07:00
Oleksandr T
d613748932
fix(45919): allow using JSDoc types for arrow function with type predicate ( #45952 )
2021-09-30 10:50:25 -07:00
Oleksandr T
e0f436c628
feat(36080): forbid to use JSDoc visibility modifiers in private fields ( #46056 )
2021-09-30 09:48:56 -07:00
TypeScript Bot
e4d9282b4b
Update package-lock.json
2021-09-30 06:06:47 +00:00
Kagami Sascha Rosylight
2161e1852f
Add module: es2022
( #44656 )
...
Closes #44653
2021-09-29 17:44:57 -07:00
Anders Hejlsberg
5ec836db82
Fix issues + Support template literal types as discriminants ( #46137 )
...
* Fix issues + Support template literal types in discriminants
* Add tests
* Address CR feedback
2021-09-29 17:38:43 -07:00
csigs
f09c5e80c6
LEGO: Merge pull request 46138
...
LEGO: Merge pull request 46138
2021-09-29 16:13:38 -07:00
Oleksandr T
e96c10fe0c
fix(26635): allow casts only when JSDoc type directly attached to an expression ( #45960 )
2021-09-29 12:16:27 -07:00
Hiroshi Ogawa
061f02cd64
fix(44021): reference jsx pragma when JsxFragment is used ( #45894 )
2021-09-29 11:31:59 -07:00
John McEntee
5d0d7ae85d
fix(45876): Remove "ascii character" order from docs for Float64Array.sort ( #45883 )
...
* fix(45876): Do not specify ascii chracter order in docs for Float64Array.sort() when compareFn is omitted.
* fix(45876): Do not specify ascii chracter order in docs for any TypedArray.sort() when compareFn is omitted.
2021-09-29 11:05:01 -07:00
Oleksandr T
8a2f5b2a6b
fix(45999): show parameter inlay hints before initializer ( #46040 )
2021-09-29 09:28:23 -07:00
Yoshiya Hinosawa
2667c6013c
Update parameter types of RegExp compile method ( #46038 )
2021-09-29 09:27:21 -07:00
csigs
0cd2330c7a
LEGO: Merge pull request 46133
...
LEGO: Merge pull request 46133
2021-09-29 04:15:22 -07:00
TypeScript Bot
fc4f9d83d5
Update package-lock.json
2021-09-29 06:07:22 +00:00
csigs
4c854e6b2d
LEGO: Merge pull request 46126
...
LEGO: Merge pull request 46126
2021-09-28 16:15:09 -07:00
csigs
4cd3bb839b
LEGO: Merge pull request 46117
...
LEGO: Merge pull request 46117
2021-09-28 10:14:07 -07:00
csigs
bdd321dc36
LEGO: Merge pull request 46113
...
LEGO: Merge pull request 46113
2021-09-28 04:15:13 -07:00
TypeScript Bot
075a7a8174
Update package-lock.json
2021-09-28 06:05:59 +00:00
csigs
cdfc7965c9
LEGO: Merge pull request 46108
...
LEGO: Merge pull request 46108
2021-09-27 22:14:48 -07:00
Wesley Wigham
8d5c197f99
keyof
should always include remapped keys (#45923 )
...
* Loosen check in getIndexTypeForMappedType to directly map property names when any indexy type is present
* Handle homomorphic mappings better in keyof, add specific relationship rule for relating generic keyof MappedType to handle remapped keys
* Remove trailing whitespace
2021-09-27 19:10:02 -07:00
Andrew Branch
530b0e2e10
Fix indexing error in guessDirectorySymlink ( #46105 )
...
* Fix indexing error in guessDirectorySymlink
* Add test
2021-09-27 16:46:49 -07:00
csigs
aabba1ac02
LEGO: Merge pull request 46106
...
LEGO: Merge pull request 46106
2021-09-27 16:14:06 -07:00
csigs
72721d781f
LEGO: check in for main to temporary branch. ( #46093 )
2021-09-27 16:08:38 -07:00
csigs
5512e915ca
LEGO: check in for main to temporary branch. ( #46092 )
2021-09-27 16:08:27 -07:00
csigs
4d26281311
LEGO: check in for main to temporary branch. ( #46091 )
2021-09-27 16:08:16 -07:00
csigs
20be4170b2
LEGO: check in for main to temporary branch. ( #46090 )
2021-09-27 16:07:35 -07:00
csigs
8fbfe5d74a
LEGO: check in for main to temporary branch. ( #46089 )
2021-09-27 16:07:26 -07:00