commit | 2ee1c395069b249c3450f53d1def94970047131a | [log] [tgz] |
---|---|---|
author | martinprobst <martinprobst@google.com> | Thu Dec 12 07:52:26 2019 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Dec 12 07:52:44 2019 -0800 |
tree | 3e4a2388b4f6b047b9110f947d32f0949271eae1 | |
parent | ecf3bda04a4735d15121a232ead008425de2c19f [diff] |
Fix compilation issues with strictBindCallApply. With strictBindCallApply, TS complains that the unknown[] is incompatible with the [any?, ...any] array expected by .error. The workaround is to just switch to `.call` with splat. PiperOrigin-RevId: 285190781
This repo contains a mirror of some Google-internal bits that support TypeScript development under Bazel.
It contains these utilities:
ts_devserver
: a Go library and binary that runs a fast local web server which concatenates JavaScript on-the-fly. It requires inputs in a named module format (module ids must be contained in the file, not inferred from the file's path).tsc_wrapped
: a TypeScript program which wraps the TypeScript compiler, hosting it under a Bazel worker.tsetse
: a collection of third-party “strictness” checks which we add to the TypeScript compiler.internal/common/*.bzl
: some Starlark utility code for running the ts_library
rule.There are no user-facing bits in this repo. These utilities are consumed in https://github.com/bazelbuild/rules_nodejs/tree/master/packages/typescript
Please file issues for ts_library
rule and other Bazel rules in that repo.