mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-10 01:43:59 -05:00
Add simple jsdoc code fix changes
This commit is contained in:
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[]");
|
||||
Reference in New Issue
Block a user