For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/1.0.0/de/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/1.0.0/de/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/1.0.0/de/rules/artifact/dts-disabled.md.

Dies ist die deutsche MFDoctor-Dokumentation. Technische Bezeichner, CLI-Flags, Regel-IDs und Codebeispiele bleiben unverändert, damit die Inhalte zwischen den Sprachen vollständig kompatibel bleiben. Verwenden Sie den Sprachumschalter für die kanonische englische Fassung.

artifact/dts-disabled

  • Kategorie: reliability
  • Standardschweregrad: warning

Problem

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

So beheben Sie das Problem

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.

Quellen