Extracts types, interfaces, classes, and functions from your TypeScript declarations and generates Mintlify MDX files with proper frontmatter, navigation, and components.
Auto-Linking
Automatically links referenced types and pages
Mintlify Components
Uses <ParamField>, <ResponseField>, <Expandable>
Navigation Sync
Updates docs.json with generated pages
Supporting Snippets
Exports TypeInfo data and component helpers
mint-tsdocs generate
RefLink & PageLink
Type-checked links with IDE autocomplete.
Auto-generates TypeScript union types for all API references and documentation pages. Get autocomplete as you type, compile errors for broken links.
IDE Autocomplete
<RefLink target="MyClass.method" /> with suggestions
Build-Time Errors
Invalid links fail at compile, not in production
Runtime Validation
Visual indicators for broken links during development
Auto-Generated Types
ValidRefs.d.ts and ValidPages.d.ts created automatically
TypeTree Component
Interactive type hierarchies for complex types.
Displays nested object properties as an expandable tree with Mintlify-native components that match your project theme.
Nested Properties
Extracts and displays deeply nested type structures
TypeInfo Export
Auto-generated TypeInfo.jsx with data for every type
Type Declarations
TypeInfo.d.ts for IDE IntelliSense
Mintlify Styled
Uses native Mintlify components for consistent theming