markdown-it-deflist
markdown-it-deflist copied to clipboard
Cannot be used in TypeScript due to lack of types
Importing in a TypeScript project results in the error:
TS7016: Could not find a declaration file for module markdown-it-deflist.
due to lack of type definitions.
The .d.ts can be just a simple:
import type {PluginSimple} from "markdown-it";
const deflist: PluginSimple;
export default deflist;