TypeScript/tests/cases/compiler/checkJsFiles2.ts

8 lines
118 B
TypeScript
Raw Normal View History

2017-03-06 23:49:50 +01:00
// @allowJs: true
2017-03-07 22:48:37 +01:00
// @checkJs: false
2017-03-07 06:01:47 +01:00
// @noEmit: true
2017-03-06 23:49:50 +01:00
// @fileName: a.js
2017-03-08 08:03:47 +01:00
// @ts-check
2017-03-06 23:49:50 +01:00
var x = "string";
x = 0;