DefinitelyTyped/types/angular/tsconfig.json
Martin Probst 970fc9d484 Angular IPromise interop with platform Promise.
Angular promises support `.then()` chaining of functions that return
arbitrary `then()`able values.
    https://docs.angularjs.org/api/ng/service/$q#the-promise-api

This change updates the definition of `ng.IPromise.then()` to match that
by overloading the function to handle `PromiseLike` values.
2019-02-06 14:08:06 +01:00

30 lines
667 B
JSON

{
"files": [
"index.d.ts",
"jqlite.d.ts",
"angular-tests.ts",
"test/jqlite-tests.ts",
"test/jquery3-merging-tests.ts"
],
"compilerOptions": {
"module": "commonjs",
"lib": [
"es5",
"dom",
"es2015.iterable",
"es2015.promise"
],
"noImplicitAny": false,
"noImplicitThis": false,
"strictNullChecks": false,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
}
}