forked from bazelbuild/rules_closure
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
53 lines (51 loc) · 1.6 KB
/
BUILD.bazel
File metadata and controls
53 lines (51 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
load("@rules_tsickle//rules:defs.bzl", "closure_ts_compile")
load("//closure:defs.bzl", "closure_js_library")
closure_js_library(
name = "elements",
srcs = [":elements_ts"],
lenient = True,
suppress = [
# found : (Element|null)
# required: (HTMLElement|null)
# const parent = e.parentElement;
# ^
# ProTip: "JSC_TYPE_MISMATCH" or "checkTypes" can be added to the `suppress` attribute of:
# @@stackb_rules_closure+//google3/third_party/javascript/safevalues/dom/elements:elements
"checkTypes",
],
visibility = ["//visibility:public"],
deps = [
"//google3/third_party/javascript/safevalues/builders",
"//google3/third_party/javascript/safevalues/dom/globals",
"//google3/third_party/javascript/safevalues/internals",
"//google3/third_party/javascript/tslib",
],
)
closure_ts_compile(
name = "elements_ts",
srcs = [
"anchor.ts",
"area.ts",
"base.ts",
"button.ts",
"element.ts",
"embed.ts",
"form.ts",
"iframe.ts",
"input.ts",
"link.ts",
"object.ts",
"script.ts",
"style.ts",
"svg.ts",
"svg_use.ts",
],
visibility = [
"//google3/third_party/javascript/safevalues:__subpackages__",
],
deps = [
"//google3/third_party/javascript/safevalues/builders:builders_ts",
"//google3/third_party/javascript/safevalues/dom/globals:globals_ts",
"//google3/third_party/javascript/safevalues/internals:internals_ts",
],
)