Skip to content

Commit

Permalink
fix: ensure ts_project _types target has the right visibility (#766)
Browse files Browse the repository at this point in the history
If this is not passed, the _types target will get the package's default visibility
  • Loading branch information
menny authored Jan 22, 2025
1 parent c47e00e commit 9acdfa1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ts/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ def ts_project(
native.alias(
name = types_target_name,
actual = declarations_target_name,
visibility = common_kwargs.get("visibility"),
)
else:
# tsc outputs the types and must be extracted via output_group
Expand Down

0 comments on commit 9acdfa1

Please sign in to comment.