Open dessalines opened 8 years ago
If you're just using the toHTML
method, you'll only need this:
declare module "markdown" {
var markdown: {
toHTML(markdown: string): string;
}
}
Same issue, use in TypeScript, it will tips: Try npm install @types/markdown
if it exists or add a new declaration (.d.ts) file containing declare module 'markdown';
and there is no @types/markdown.
Does anyone have this working with typescript, or have typings with it? I'd love if this node package came with the
.d.ts
typings file.