markdown-it / markdown-it-emoji

Emoji syntax plugin for markdown-it markdown parser

Home Page:https://markdown-it.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@types/markdown-it-emoji not match with markdown-it-emoji

nethriis opened this issue · comments

I have the error who says me to install @types/markdown-it-emoji because I use typescipt but the @types/markdown-it-emoji doesn't export full.

@nethriis I had the same problem, I followed the instructions at https://medium.com/@steveruiz/using-a-javascript-library-without-type-declarations-in-a-typescript-project-3643490015f3 and created a file in the root of my project called markdown-it-emoji.d.ts with the contents:

declare module "markdown-it-emoji" {
    import MarkdownIt from "markdown-it";
    export const full: MarkdownIt.PluginSimple;
}