@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;
}