14 lines
250 B
TypeScript
14 lines
250 B
TypeScript
|
/// <reference path='fourslash.ts' />
|
||
|
|
||
|
// @noImplicitAny: false
|
||
|
////[|var x;
|
||
|
////function f() {
|
||
|
//// x++;
|
||
|
////}|]
|
||
|
|
||
|
verify.rangeAfterCodeFix(`var x: number;
|
||
|
function f() {
|
||
|
x++;
|
||
|
}
|
||
|
`, /*includeWhiteSpace*/ undefined, /*errorCode*/ undefined, 0);
|