Originally we use Array.from to transform iterator into array. But we found some framework may overwrite the Array.from with a pollyfill which was not implement correctly.
18 lines
383 B
JSON
18 lines
383 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"removeComments": true,
|
|
"preserveConstEnums": true,
|
|
"sourceMap": true,
|
|
"rootDir": "src",
|
|
"outDir": "build",
|
|
"lib": ["es6", "dom"],
|
|
"downlevelIteration": true
|
|
},
|
|
"compileOnSave": true,
|
|
"exclude": ["test"],
|
|
"include": ["src", "test.d.ts"]
|
|
}
|