Merge branch '10758-always-strict' of https://github.com/slawomir/TypeScript into slawomir-10758-always-strict

This commit is contained in:
Mohamed Hegazy
2016-10-13 16:17:06 -07:00
24 changed files with 225 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
// @alwaysStrict: true
function f() {
var arguments = [];
}

View File

@@ -0,0 +1,5 @@
// @alwaysStrict: true
"use strict"
function f() {
var a = [];
}

View File

@@ -0,0 +1,6 @@
// @target: ES6
// @alwaysStrict: true
function f() {
var arguments = [];
}

View File

@@ -0,0 +1,8 @@
// @module: commonjs
// @alwaysStrict: true
module M {
export function f() {
var arguments = [];
}
}

View File

@@ -0,0 +1,9 @@
// @module: commonjs
// @alwaysStrict: true
// @noImplicitUseStrict: true
module M {
export function f() {
var arguments = [];
}
}