27cc56b359
Close #38584 In zone.js 0.11.1, the `types` field is missing in the `package.json`, the reason is in zone.js 0.11.0, the `files` field is used to specify the types, but it cause the npm package not contain any bundles issue, so zone.js 0.11.1 remove the `files` field, which cause the `type` definition gone. This PR concat the `zone.js.d.ts`, `zone.configurations.api.ts`, `zone.api.extensions.ts` types into a single `zone.d.ts` file. PR Close #38585
28 lines
586 B
JSON
28 lines
586 B
JSON
{
|
|
"compilerOptions": {
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"experimentalDecorators": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"outDir": "./build",
|
|
"rootDir": ".",
|
|
"target": "es5",
|
|
"noEmitOnError": false,
|
|
"stripInternal": false,
|
|
"strict": true,
|
|
"lib": [
|
|
"es5",
|
|
"dom",
|
|
"es2015.collection",
|
|
"es2015.iterable",
|
|
"es2015.promise",
|
|
],
|
|
},
|
|
"files": [
|
|
"./type.test.ts",
|
|
"./node_modules/zone.js/zone.d.ts"
|
|
],
|
|
}
|