load("//tools:defaults.bzl", "ts_project")

# files fetched on 2024-11-28 from
# https://github.com/microsoft/TypeScript/releases/tag/v5.8-beta

# Commands to download:
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.8-beta/lib/typescript.d.ts -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.8-beta/lib/typescript.js -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js

licenses(["notice"])  # Apache 2.0

package(default_visibility = ["//packages/schematics/angular:__subpackages__"])

exports_files([
    "LICENSE",
])

ts_project(
    name = "TypeScript",
    srcs = ["lib/typescript.d.ts"],
    data = ["lib/typescript.js"],
)
