strict
alwaysStrict
注入 "use strict"
noImplicitAny
function(x){ }
strictNullChecks
let x:number =null
strictFunctionTypes
let a = (x:number)=>{}<br>let b =(y:number)={}<br>b =a
strictPropertyInitialization
class C{<br> x:number<br>}
strictBindCallApply
function add(x:number,y:number){<br>return x+y<br>}<br>add.call(undefined,1,"2")
noImplicitThis
class A{<br>a:number=1;<br>get A(){<br>return function(){<br>console.log(this.a)<br> }<br> }<br>}
esModuleInterop
允许 export = 导出,由import from 导入