File tree 1 file changed +7
-1
lines changed 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,13 @@ This might be because
210
210
This is an error because Bazel does not run actions unless their outputs are needed for the requested targets to build.
211
211
""" )
212
212
213
- output_declarations = typings_outs + typing_maps_outs + typings_srcs
213
+ output_declarations = typings_outs + typing_maps_outs + typings_srcs + [
214
+ # Probably not the right spot: make .json outputs also appear in typings
215
+ # so they are propagated to dependents and available for typechecking
216
+ s
217
+ for s in output_sources
218
+ if s .path .endswith (".json" ) and ctx .attr .resolve_json_module
219
+ ]
214
220
215
221
# Default outputs (DefaultInfo files) is what you see on the command-line for a built
216
222
# library, and determines what files are used by a simple non-provider-aware downstream
You can’t perform that action at this time.
0 commit comments