angular-docs-cn/tools/public_api_guard/BUILD.bazel

15 lines
430 B
Python

load("//tools/ts-api-guardian:index.bzl", "ts_api_guardian_test")
load(":public_api_guard.bzl", "generate_targets")
generate_targets(glob(["*/**/*.d.ts"]))
ts_api_guardian_test(
name = "ng_global_utils_api",
actual = "angular/packages/core/src/render3/global_utils_api.d.ts",
data = [
":global_utils.d.ts",
"//packages/core",
],
golden = "angular/tools/public_api_guard/global_utils.d.ts",
)