00c110b055
With these changes, the types are a little stricter now and also not compatible with Protractor's jasmine-like syntax. So, we have to also use `@types/jasminewd2` for e2e tests (but not for non-e2e tests). I also had to "augment" `@types/jasminewd2`, because the latest typings from [DefinitelyTyped][1] do not reflect the fact that the `jasminewd2` version (v2.1.0) currently used by Protractor supports passing a `done` callback to a spec. [1]: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/566e0394859fdc1dc893658ccec6b06372d56a91/types/jasminewd2/index.d.ts#L9-L15 Fixes #23952 Closes #24733 PR Close #19904
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"declaration": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"strictNullChecks": true,
|
|
"strictPropertyInitialization": true,
|
|
"outDir": "../dist/all/@angular",
|
|
"noImplicitAny": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"paths": {
|
|
"selenium-webdriver": ["../node_modules/@types/selenium-webdriver/index.d.ts"],
|
|
"rxjs/*": ["../node_modules/rxjs/*"],
|
|
"@angular/*": ["./*"],
|
|
"e2e_util/*": ["../modules/e2e_util/*"]
|
|
},
|
|
"rootDir": ".",
|
|
"inlineSourceMap": true,
|
|
"lib": ["es5", "dom", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.core"],
|
|
"skipDefaultLibCheck": true,
|
|
"skipLibCheck": true,
|
|
"target": "es5",
|
|
"types": ["angular"]
|
|
},
|
|
"bazelOptions": {
|
|
"suppressTsconfigOverrideWarnings": true
|
|
},
|
|
"exclude": [
|
|
"bazel",
|
|
"common/locales",
|
|
"compiler-cli/integrationtest",
|
|
"elements/schematics",
|
|
"examples/**/e2e_test/*",
|
|
"platform-server/integrationtest"
|
|
]
|
|
|
|
}
|