Bjarki c4266fb729 feat(core): depend on type definitions for Trusted Types ()
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 
2020-10-13 11:23:36 -07:00

36 lines
683 B
Python

package(default_visibility = ["//visibility:public"])
exports_files([
"tsconfig-build.json",
"tsconfig.json",
])
load("//tools:defaults.bzl", "ts_config", "ts_library")
ts_library(
name = "types",
srcs = glob(["*.ts"]),
deps = [
"//packages/zone.js/lib:zone_d_ts",
"@npm//@types/hammerjs",
"@npm//@types/trusted-types",
],
)
ts_config(
name = "tsconfig-test",
src = "tsconfig-test.json",
deps = [":tsconfig-build.json"],
)
ts_config(
name = "tsconfig-build-no-strict",
src = "tsconfig-build-no-strict.json",
deps = [":tsconfig-build.json"],
)
exports_files([
"license-banner.txt",
"README.md",
])