mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-12 12:57:11 -06:00
Add simple jsdoc code fix changes
This commit is contained in:
parent
61c9f98eef
commit
a3a6862d43
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…
x
Reference in New Issue
Block a user