build: remove vendored Babel typings (#33226)

These were getting included in the @angular/localize package.
Instead, patch the upstream files to work with TS typeRoots option

See bazelbuild/rules_nodejs#1033

PR Close #33226
This commit is contained in:
Alex Eagle
2019-10-14 18:00:17 -07:00
committed by Matias Niemelä
parent 7b64680670
commit 422eb14dc0
20 changed files with 96 additions and 1897 deletions

View File

@ -15,7 +15,8 @@
"noImplicitAny": true,
"outDir": "../node_modules/flat_module",
"rootDir": "",
"target": "es5"
"target": "es5",
"typeRoots": ["../node_modules/@types"]
},
"files": ["public-api.ts"]

View File

@ -13,6 +13,7 @@
"noImplicitAny": true,
"outDir": "../node_modules/third_party",
"rootDir": "",
"target": "es5"
"target": "es5",
"typeRoots": ["../node_modules/@types"]
}
}

View File

@ -23,7 +23,8 @@
// compatible with the option. Disabled until the integration test support the strict flag.
// TODO(devversion): this has been enabled without the integration test code being
"strictPropertyInitialization": false,
"target": "es5"
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": [

View File

@ -15,7 +15,8 @@
"outDir": "./xi18n-out",
"rootDir": "",
"skipLibCheck": true,
"target": "es5"
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": [