GrapesJS / mjml

Newsletter Builder with MJML components in GrapesJS
http://grapesjs.com/demo-mjml.html
BSD 3-Clause "New" or "Revised" License
618 stars 218 forks source link

Cannot find namespace 'grapesjs.Plugin' in grapejs-mjml index.d.ts #325

Closed zeskysee closed 1 year ago

zeskysee commented 1 year ago

When npm install grapesjs 0.21.1 with grapesjs-mjml 1.0.4 in angular get the following error:

Error: node_modules/grapesjs-mjml/dist/index.d.ts:99:23 - error TS2503: Cannot find namespace 'grapesjs'.

99 declare const plugin: grapesjs.Plugin<PluginOptions>;
                         ~~~~~~~~

To reproduce the issue, you check out the following repository: https://github.com/zeskysee/angular-grapejs-mjml-issue

artf commented 1 year ago

Fixed here https://github.com/GrapesJS/mjml/releases/tag/v1.0.5