markdown-it-deflist icon indicating copy to clipboard operation
markdown-it-deflist copied to clipboard

Cannot be used in TypeScript due to lack of types

Open zefir-git opened this issue 5 months ago • 0 comments

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;

zefir-git avatar Aug 29 '25 09:08 zefir-git