feat(core): depend on type definitions for Trusted Types (#39207)
To facilitate the upcoming Trusted Types support being added to Angular, add the TypeScript type definitions for the Trusted Types browser API as a dependency in the root package.json and types.d.ts since they're needed for compiling the Angular packages. PR Close #39207
This commit is contained in:
parent
5ce71e0fbc
commit
c4266fb729
|
@ -90,6 +90,7 @@
|
|||
"@types/semver": "^6.0.2",
|
||||
"@types/shelljs": "^0.8.6",
|
||||
"@types/systemjs": "0.19.32",
|
||||
"@types/trusted-types": "^1.0.6",
|
||||
"@types/yaml": "^1.9.7",
|
||||
"@types/yargs": "^15.0.5",
|
||||
"@webcomponents/custom-elements": "^1.1.0",
|
||||
|
|
|
@ -13,6 +13,7 @@ ts_library(
|
|||
deps = [
|
||||
"//packages/zone.js/lib:zone_d_ts",
|
||||
"@npm//@types/hammerjs",
|
||||
"@npm//@types/trusted-types",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
// This file contains all ambient imports needed to compile the packages/ source code
|
||||
|
||||
/// <reference types="hammerjs" />
|
||||
/// <reference types="trusted-types" />
|
||||
/// <reference lib="es2015" />
|
||||
/// <reference path="./goog.d.ts" />
|
||||
/// <reference path="./system.d.ts" />
|
||||
|
|
|
@ -2358,6 +2358,11 @@
|
|||
dependencies:
|
||||
"@types/node" "*"
|
||||
|
||||
"@types/trusted-types@^1.0.6":
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-1.0.6.tgz#569b8a08121d3203398290d602d84d73c8dcf5da"
|
||||
integrity sha512-230RC8sFeHoT6sSUlRO6a8cAnclO06eeiq1QDfiv2FGCLWFvvERWgwIQD4FWqD9A69BN7Lzee4OXwoMVnnsWDw==
|
||||
|
||||
"@types/webpack-sources@^0.1.5":
|
||||
version "0.1.7"
|
||||
resolved "https://registry.yarnpkg.com/@types/webpack-sources/-/webpack-sources-0.1.7.tgz#0a330a9456113410c74a5d64180af0cbca007141"
|
||||
|
|
Loading…
Reference in New Issue