TypeScript/tests/cases/compiler/alwaysStrictAlreadyUseStrict.ts
Slawomir Sadziak ea808f52fe Fix #10758 Add compiler option to parse in strict mode
* add unit test to ensure "use strict" is not added twice
 * fix code
2016-10-10 12:15:34 +02:00

5 lines
72 B
TypeScript

// @alwaysStrict: true
"use strict"
function f() {
var a = [];
}