mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Updated test to test file contents.
This commit is contained in:
@@ -4,8 +4,10 @@
|
||||
// @noEmit: true
|
||||
|
||||
// @Filename: a.js
|
||||
////[|// @ts-check|]
|
||||
////[|// @ts-check
|
||||
////var x = "";
|
||||
////x = 1;
|
||||
////x = 1;|]
|
||||
|
||||
verify.rangeAfterCodeFix("// @ts-nocheck", /*includeWhiteSpace*/ false, /*errorCode*/ undefined, /*index*/ 1);
|
||||
verify.rangeAfterCodeFix(`// @ts-nocheck
|
||||
var x = "";
|
||||
x = 1;`, /*includeWhiteSpace*/ false, /*errorCode*/ undefined, /*index*/ 1);
|
||||
Reference in New Issue
Block a user