diff --git a/packages/typescript/internal/ts_project.bzl b/packages/typescript/internal/ts_project.bzl index 5e1f3db973..7f95cc4c58 100644 --- a/packages/typescript/internal/ts_project.bzl +++ b/packages/typescript/internal/ts_project.bzl @@ -231,6 +231,12 @@ def _ts_project_impl(ctx): for dep in ctx.attr.deps if TsConfigInfo in dep ])), + coverage_common.instrumented_files_info( + ctx, + source_attributes = ["srcs"], + dependency_attributes = ["deps"], + extensions = ["ts", "tsx"], + ), ] # Only provide DeclarationInfo if there are some typings.