Free and Open source Web Builder Framework. Next generation tool for building templates without coding
BSD 3-Clause "New" or "Revised" License
22.37k
stars
4.05k
forks
source link
BUG: Missing type declaration from exports in package.json #5398
Closed
padcom closed 1 year ago
GrapesJS version
What browser are you using?
chrome
Reproducible demo link
https://github.com/padcom/grapesjs-import-error
Describe the bug
0.21.6 changed the way things are exported and now VSCode doesn't see type declarations:
It happens when TypeScript uses:
which is the default setting in @vue/tsconfig/tsconfig.json used in all Vue.js applications and also it is the default in all vite.js templates.
That's how it should look in https://github.com/GrapesJS/grapesjs/blob/dev/package.json#L12:
Code of Conduct