Sheetal Nandi
8975bb1b2e
Fix typeof as typeof expression in type arguments
...
Fixes #846
2021-01-04 11:29:09 -08:00
Sheetal Nandi
a755c6bad6
Support for intrinsic keyword in type alias as part of microsoft/TypeScript#40580
2020-11-20 15:06:10 -08:00
Sheetal Nandi
784ee07d81
Support for template literal types added as part of microsoft/TypeScript#40336
2020-11-20 14:51:03 -08:00
Sheetal Nandi
400612015b
Correctly parse expression after typeof operator
...
Adds support for typeof class as part of microsoft/TypeScript#41587
2020-11-20 14:26:25 -08:00
Sheetal Nandi
968be2a8f1
Update bug_report.md
2020-11-05 17:16:08 -08:00
Sheetal Nandi
0293b473aa
Match type arguments before the template string
...
Fixes #822
2020-11-05 16:33:33 -08:00
Sheetal Nandi
1b41be48ce
Increase depth for matching parens, bracews and brackets
...
Fixes #816
2020-11-05 15:33:31 -08:00
Sheetal Nandi
59b62cbc62
handle expression after return keyword explicitly
...
Fixes #823
2020-11-05 14:52:28 -08:00
Sheetal Nandi
15b157d42e
Fix recognition of regexp class
...
Fixes #832
2020-11-05 13:27:34 -08:00
Sheetal Nandi
7e4ccfde81
Include matching return type using arrow in method declaration
...
Fixes #836
2020-11-05 13:07:30 -08:00
Zuckjet
0355d152b1
Fix the operand of a 'delete' operator must be optional error in typescript 4.0 ( #838 )
2020-11-05 12:36:24 -08:00
Sheetal Nandi
d6e677b8cd
Increase level of type argument depth in possibly type
...
Fixes #840
2020-11-05 12:27:46 -08:00
Michael Crane
a771bc4e79
Update 'copyfiles' dependency to address downstream 'minimist' vulnerability ( #818 )
2020-06-30 18:25:15 -07:00
Sheetal Nandi
fa4e0d3a91
Support for named tuple added as part of microsoft/TypeScript#38234
2020-05-21 13:40:30 -07:00
Sheetal Nandi
84422d92e1
Fix type detection in instance of expression
...
Fixes #814
2020-03-31 12:17:03 -07:00
Sheetal Nandi
dd81cfb5b0
Fix scope extensions for .tsx shebang
...
Fixes #813
2020-03-30 14:04:51 -07:00
Sheetal Nandi
cfe0dcf0c3
Validate scope extensions..
2020-03-30 14:03:06 -07:00
Sheetal Nandi
863fe48831
Handle multiline type arguments of a function call better since it could be not followed by parenthesis and be followed instead by template string
...
Fixes #811
2020-03-23 15:29:14 -07:00
Sheetal Nandi
07b272487c
Support awaited type operator added as part of microsoft/TypeScript#35998
2020-03-20 16:34:30 -07:00
Sheetal Nandi
71c4e0ca32
In function call allow when type argument starts with object type to be on multi line
...
Fixes #807
2020-03-16 11:59:03 -07:00
Sheetal Nandi
7fcffcfcbf
Fix string detection in arrow lookup
...
Fixes #809
2020-03-16 11:36:07 -07:00
Sheetal Nandi
d63aae4fa6
Fix incorrect detection of regexp and arithmetic operator
...
Fixes #806
2020-03-16 11:04:31 -07:00
Sheetal Nandi
f065e7e88d
Private fields corresponding to microsoft/TypeScript#30829
2020-01-08 09:22:32 -08:00
Andrew Branch
163205147a
Type-only imports and exports ( #792 )
...
* Support type-only imports and exports
* Fix copy/paste error
* Update baseline
* Handle import export type at local matching rules
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2020-01-07 08:32:48 -08:00
Sheetal Nandi
b7ef0941e3
Fix multiline arrow assignment with multiline arrow type parameters to the object member
...
Fixes #796
2020-01-02 16:04:26 -08:00
Sheetal Nandi
c858569c30
Handle declare modifier for class fields
...
Fixes #797
2020-01-02 15:43:26 -08:00
Sheetal Nandi
c9c955af17
Fix detection of division operator when its followed by !
...
Fixes #794
2019-12-17 14:48:58 -08:00
Sheetal Nandi
2e0fded599
Handle incorrect order of string and comment matching
...
Fixes #793
2019-12-06 08:42:35 -08:00
Sheetal Nandi
dc5fe357ee
Handle possibly parameters when there is no type annotation
...
Fixes #791
2019-11-26 11:37:03 -08:00
Sheetal Nandi
c1e346c9fb
Handle readonly in type arguments
...
Fixes #790
2019-11-26 11:30:58 -08:00
Sheetal Nandi
4daff7b890
Fix the regexp tail to account for // and /* both
...
Fixes #787
2019-11-07 08:57:02 -08:00
Sheetal Nandi
d7f4846793
Fix build break
2019-11-05 15:33:15 -08:00
Sheetal Nandi
31a1bbe2ec
Fix regexp tail detection
...
Fixes #786
2019-11-05 13:30:54 -08:00
Sheetal Nandi
477c1b17e2
Fix detection of function call when called after another function call
...
Fixes #785
2019-10-30 14:27:13 -07:00
Sheetal Nandi
2db6bba612
Fix multiline arrow with destructuring parameters
...
Fixes #780
2019-10-30 14:08:21 -07:00
Sheetal Nandi
43ef49c70c
Merge pull request #783 from kufii/patch-1
...
set unicode escape sequences to constant.character.escape scope
2019-10-28 12:53:35 -07:00
Adrien Pyke
0962d37bde
fix test case
2019-10-25 15:43:04 -04:00
Adrien Pyke
4246ede11b
set unicode escape sequences to constant.character.escape scope
2019-10-25 15:37:42 -04:00
Sheetal Nandi
00a6758492
Delete issue_template.md
2019-10-14 10:00:20 -07:00
Sheetal Nandi
51ea29cc44
Update issue templates
2019-10-14 09:58:59 -07:00
Sheetal Nandi
2c8f33654d
Update issue_template.md
2019-10-14 09:52:42 -07:00
Sheetal Nandi
89075a4711
Fix ! operator in function call
...
Fixes #776
2019-10-14 09:43:36 -07:00
Sheetal Nandi
8d85aebb1d
Merge pull request #779 from mjbvz/use-contentname-for-embedded-jsx
...
Use 'contentName' instead of 'name' to mark embedded jsx expressions
2019-10-14 09:28:49 -07:00
Matt Bierner
4f1991e11c
Use 'contentName' instead of 'name' to mark embedded jsx expressions
...
Jsx expressions currently use `name` to mark the entire expresion (including the opening and closing braces) as `meta.embedded.expression`. This causes VS Code to treat the entire expresssion as JavaScript for basic language commands such as highlighting.
This fix instead changes jsx expressions to only mark the expression itself (and not the braces) as `meta.embedded.expression`. This lets VS Code correctly handle commenting in a few edge cases
2019-10-11 08:52:04 -07:00
Sheetal Nandi
c0c0c5fc37
Fix the function detection for variables/parameters typed as Function type
...
Fixes #763
2019-10-01 11:43:23 -07:00
Sheetal Nandi
894c5c55bd
Fix field declaration without type annotation when its last element
...
Fixed #766
2019-10-01 11:26:25 -07:00
Sheetal Nandi
e0fffbf0e0
Consume single line comment endings for import declaration to correctly detect end of the import declaration
...
Fixes #774
2019-10-01 11:15:26 -07:00
Sheetal Nandi
9b9b130367
Update type predeicate matching per microsoft/TypeScript#32695
2019-09-27 15:09:40 -07:00
Sheetal Nandi
f833322377
Merge pull request #768 from Kingwl/master
...
add nullish coalescing support
2019-08-22 08:08:07 -07:00
kingwl
ce39790473
add nullish coalescing support
2019-08-22 15:41:50 +08:00