diff --git a/rules_nodejs_to_rules_js_migration/bazel/rules_js_to_rules_nodejs_adapter.bzl b/rules_nodejs_to_rules_js_migration/bazel/rules_js_to_rules_nodejs_adapter.bzl index 44bb38e6..389c89f7 100644 --- a/rules_nodejs_to_rules_js_migration/bazel/rules_js_to_rules_nodejs_adapter.bzl +++ b/rules_nodejs_to_rules_js_migration/bazel/rules_js_to_rules_nodejs_adapter.bzl @@ -11,7 +11,7 @@ def _impl(ctx): for dep in ctx.attr.deps: if JsInfo in dep: files_depsets.append(dep[JsInfo].transitive_sources) - files_depsets.append(dep[JsInfo].transitive_declarations) + files_depsets.append(dep[JsInfo].transitive_types) files = [] for file in depset(transitive = files_depsets).to_list():