TypeScript/tests/cases/fourslash/codeFixDisableJsDiagnosticsInFile3.ts
2017-03-22 16:23:21 -07:00

15 lines
321 B
TypeScript

/// <reference path='fourslash.ts' />
// @allowjs: true
// @noEmit: true
// @checkJs: true
// @Filename: a.js
////[|var x = "";
////x = 1;|]
// Disable checking for next line
verify.rangeAfterCodeFix(`var x = "";
// @ts-ignore
x = 1;`, /*includeWhiteSpace*/ false, /*errorCode*/ undefined, /*index*/ 0);