Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not rely on @npm_typescript if custom tsc is provided (#693)
This is a follow-up to #675 which made the `@npm_typescript` repository less special. This replaces the (hopefully) last occurrence of this special name that cannot be changed by configuration. Alternatives I considered: - Expose the `is_typescript_5_or_greater` flag on the `ts_project` macro: Simplest option at first, but since it is only used for config validation, that would become nonsensical. - Add a `npm_typescript_package` or `npm_typescript_repository` parameter that would allow overriding all places where `@npm_typescript//` is used by default: Would offer more functionality (e.g. worker config checking), but would also be more invasive.
- Loading branch information