load("@rules_closure//closure:defs.bzl", "closure_js_library")

package(default_visibility = ["//visibility:public"])

licenses(["notice"])

closure_js_library(
    name = "disposable",
    srcs = [
        "disposable.js",
        "dispose.js",
        "disposeall.js",
    ],
    lenient = True,
    deps = [
        ":idisposable",
        "//third_party/closure/goog/utils",
    ],
)

closure_js_library(
    name = "idisposable",
    srcs = ["idisposable.js"],
    lenient = True,
    deps = ["//third_party/closure/goog/utils"],
)
