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

20 lines
390 B
TypeScript

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