Add simple jsdoc code fix changes
This commit is contained in:
parent
61c9f98eef
commit
a3a6862d43
3 changed files with 12 additions and 0 deletions
4
tests/cases/fourslash/codeFixChangeJSDocSyntax1.ts
Normal file
4
tests/cases/fourslash/codeFixChangeJSDocSyntax1.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
/// <reference path='fourslash.ts' />
|
||||
//// var x: [|?|] = 12;
|
||||
|
||||
verify.rangeAfterCodeFix("any");
|
4
tests/cases/fourslash/codeFixChangeJSDocSyntax2.ts
Normal file
4
tests/cases/fourslash/codeFixChangeJSDocSyntax2.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
/// <reference path='fourslash.ts' />
|
||||
//// var x: [|*|] = 12;
|
||||
|
||||
verify.rangeAfterCodeFix("any");
|
4
tests/cases/fourslash/codeFixChangeJSDocSyntax3.ts
Normal file
4
tests/cases/fourslash/codeFixChangeJSDocSyntax3.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
/// <reference path='fourslash.ts' />
|
||||
//// var x: [|...number|] = 12;
|
||||
|
||||
verify.rangeAfterCodeFix("number[]");
|
Loading…
Reference in a new issue