For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/rules/config/nested-producer-dts-extract.md.

config/nested-producer-dts-extract

  • Category: reliability
  • Default severity: warning

Issue

A remote that both exposes modules and consumes remotes publishes an incomplete type archive unless dts.generateTypes.extractRemoteTypes is enabled, so nested consumers miss types from inner remotes.

How to fix it

Enable dts.generateTypes.extractRemoteTypes on nested producers. Host-only consumers do not need this flag.

Suppress or retarget with rules["config/nested-producer-dts-extract"] set to "off" or a severity, see Suppressions and allowlists.

Sources