Skip to content

[Bug]: transitive_typecheck doesn't work across NPM package boundaries #871

@walkerburgin

Description

@walkerburgin

What happened?

I'm in the process of migrating to --isolatedDeclarations and isolated_typecheck = True.

I naively assumed that building the transitive_typecheck target would trigger type checking across all transitive ts_project() dependencies. At the moment it doesn't seem to work across NPM package / js_library() boundaries.

Version

Development (host) and target OS/architectures:

Output of bazel --version: bazel 8.5.0

Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "2.8.1")
bazel_dep(name = "aspect_rules_ts", version = "3.7.1")

Language(s) and/or frameworks involved: TypeScript

How to reproduce

Any other information?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions