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

18 lines
352 B
TypeScript

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