ce85ee5115
This makes it appear before the ts-ignore codefix, specifically.
18 lines
361 B
TypeScript
18 lines
361 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
// @noImplicitAny: true
|
|
// @Filename: important.js
|
|
////[|var x;
|
|
////function f() {
|
|
//// x++;
|
|
////}|]
|
|
|
|
verify.rangeAfterCodeFix(`/** @type {number} */
|
|
var x;
|
|
function f() {
|
|
x++;
|
|
}
|
|
`, /*includeWhiteSpace*/ undefined, /*errorCode*/ undefined, 0);
|