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/artifact/dts-disabled.md.

artifact/dts-disabled

  • Category: reliability
  • Default severity: warning

Issue

When a producer exposes modules but explicitly disables DTS, consumers receive no automatic checked declaration contract for those modules.

How to fix it

Set dts: true (or enable dts.generateTypes). If another declaration delivery path is intentional, document and test it, then turn this rule off for that project.

Suppress or retarget with rules["artifact/dts-disabled"] set to "off" or a severity — see Suppressions and allowlists.

Sources