Gabriela Araujo Britto
3a6b6bfbd9
rename emitter functions + fix indentation
2021-10-25 15:01:45 -07:00
Gabriela Araujo Britto
4571e98b9f
rename diagnostic to status and remove snippets from public api
2021-10-25 14:36:16 -07:00
Gabriela Araujo Britto
a639aef0a7
fix isParameterDeclaration changes
2021-10-25 14:08:11 -07:00
Andrew Branch
35c1ea384f
Fix unbound host.getNewLine
2021-10-20 12:22:37 -07:00
Gabriela Araujo Britto
e76c18da3c
fix more tests
2021-10-18 10:01:48 -07:00
Gabriela Araujo Britto
70ebe866f4
fix tests
2021-10-15 14:20:45 -07:00
Gabriela Araujo Britto
01eb2bb94f
fix weird stuff
2021-10-14 16:20:44 -07:00
Gabriela Araujo Britto
28539b6cdf
fix newline handling
2021-10-14 16:09:24 -07:00
Gabriela Araujo Britto
00dc206d29
throw error if setOptions is called but not implemented
2021-10-14 16:09:06 -07:00
Gabriela Araujo Britto
952aac1cdc
merge conflict fixes; remove comments
2021-10-14 14:53:45 -07:00
Gabriela Araujo Britto
b8bb27ad1a
Merge branch 'main' into gabritto/issue45670
2021-10-14 14:43:05 -07:00
Gabriela Araujo Britto
fe4fce8e27
fix modifier inheritance for overloads
2021-10-14 13:44:10 -07:00
Anders Hejlsberg
8718df3dc1
Fix stack overflow in JSX discriminated union logic ( #46354 )
...
* Use getContextFreeTypeOfExpression to avoid circularities
* Add regression test
2021-10-14 10:11:44 -07:00
Sidharth Vinod
5185ef55e3
fix(suggestion): Remove 80001 from cjs/cts files. ( #46270 )
...
* fix(suggestion): Remove 80001 from cjs/cts files.
* tests: Cover more cases in a single file.
* tests: Cover more cases in a single file.
2021-10-14 09:55:59 -07:00
TypeScript Bot
3b086e1813
Update package-lock.json
2021-10-14 06:07:58 +00:00
Gabriela Araujo Britto
d7c26c4521
fix new tests
2021-10-13 18:14:23 -07:00
Wesley Wigham
1c5d4e1740
Pass symbol under inspection into checkIndexConstraints ( #46350 )
2021-10-13 17:04:33 -07:00
Wesley Wigham
ac345849e3
Set impliedNodeFormat on sourceFiles maufactured in watch mode ( #46349 )
2021-10-13 17:04:13 -07:00
LowR
cd0434aa76
fix(39744): make template literals more spec compliant ( #45304 )
...
* fix(39744): make template literals more spec compliant
* Add evaluation test for template literals
* Add test for template literals with source map
2021-10-13 12:03:31 -07:00
Anders Hejlsberg
0d2aeb7c65
Improve checks for infinitely expanding recursive conditional types ( #46326 )
...
* Improve checks for infinitely expanding recursive conditional types
* Accept new baselines
* Add regression tests
* Remove 'export' modifier
* Accept new baselines
2021-10-13 07:08:01 -07:00
TypeScript Bot
315b807489
Update package-lock.json
2021-10-13 06:06:54 +00:00
Gabriela Araujo Britto
e079f71e7d
more tests and fixes
2021-10-12 17:51:33 -07:00
Wesley Wigham
713afe2227
Set import mode on synthetic imports ( #46327 )
2021-10-12 16:23:37 -07:00
Yuya Tanaka
9e2fc16c32
Improve perf of unions with many primitives ( #45220 )
2021-10-12 16:07:21 -07:00
Gabriela Araujo Britto
c3a64bcb17
small fixes; fixed tests
2021-10-12 15:24:06 -07:00
Gabriela Araujo Britto
69ee9fc069
support escaping in snippets
2021-10-12 13:58:22 -07:00
Oleksandr T
44deb84460
fix(45336): add a blank line before the comment expression to avoid disrupting return statement ( #46287 )
2021-10-11 16:41:49 -07:00
TypeScript Bot
68ff7380d2
Update package-lock.json
2021-10-11 06:06:14 +00:00
TypeScript Bot
feac9eb126
Update package-lock.json
2021-10-09 06:06:31 +00:00
Andrew Branch
64b8172f06
Auto-imports: fix some exports being incorrectly stored as re-exports of others due to key conflict ( #45792 )
...
* Ensure symbol key unique when target is a local symbol exported elsewhere
* Add test
* Support targets without declarations
* Best key yet
* A-ha moment
* Clean up types
* Update API
* Update unit test
2021-10-08 15:20:12 -07:00
TypeScript Bot
f6c0231f08
Update package-lock.json
2021-10-08 06:06:15 +00:00
csigs
613c43287b
LEGO: Merge pull request 46264
...
LEGO: Merge pull request 46264
2021-10-07 16:14:04 -07:00
Wesley Wigham
82822fc1e9
Use a binary search when looking for the token at a given position ( #46250 )
2021-10-07 15:06:18 -07:00
csigs
bbd9ff51f5
LEGO: Merge pull request 46260
...
LEGO: Merge pull request 46260
2021-10-07 10:13:49 -07:00
Nathan Shively-Sanders
8c270757b2
In plain JS files, only suggestion did-you-mean errors ( #46151 )
...
They will have code fixes, and are tuned for high precision. Others are
not.
2021-10-07 08:41:06 -07:00
csigs
fbff13105a
LEGO: Merge pull request 46255
...
LEGO: Merge pull request 46255
2021-10-07 04:15:20 -07:00
Gabriela Araujo Britto
41a3c196dc
WIP: try to add snippet escaping in emitter
2021-10-06 18:25:13 -07:00
csigs
08361e3d3c
LEGO: Merge pull request 46248
...
LEGO: Merge pull request 46248
2021-10-06 16:14:13 -07:00
Gabriela Araujo Britto
d7809c1122
rebase
2021-10-06 13:38:25 -07:00
Wesley Wigham
7108646713
Fix extension automatic script kind detection for new extensions ( #46205 )
...
* Fix extension script kind detection for new extensions
* Accept (correct) changes to existing baselines affected by correct ScriptKind detection
2021-10-06 13:23:54 -07:00
Wesley Wigham
ed9c522fd6
Accept new moduleResolution options on commandline ( #46239 )
2021-10-06 13:17:27 -07:00
csigs
cb158e7eb6
LEGO: Merge pull request 46238
...
LEGO: Merge pull request 46238
2021-10-06 10:14:06 -07:00
TypeScript Bot
f8cb5fa1d7
Update package-lock.json
2021-10-06 06:06:16 +00:00
Gabriela Araujo Britto
db408cc9c2
fix snippet adding
2021-10-05 16:37:55 -07:00
Wesley Wigham
1cee9731d2
Properly support scoped package self name lookups ( #46212 )
2021-10-05 12:41:44 -07:00
Gabriela Araujo Britto
b124c8448a
make add snippets work with overloads (not synced)
2021-10-05 12:21:35 -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