You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Unable to use import state with Astro build https://astro.build/
To Reproduce
Steps to reproduce the behavior:
import sortable from 'html5sortable';
Getting following error, run npm run build
error ts(7016): Could not find a declaration file for module 'html5sortable'. 'C:/Projects/foler_name/node_modules/html5sortable/dist/html5sortable.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/html5sortable` if it exists or add a new declaration (.d.ts) file containing `declare module 'html5sortable';`
32 import sortable from 'html5sortable';
~~~~~~~~~~~~~~~
Expected behavior
import should work
The text was updated successfully, but these errors were encountered:
Describe the bug
Unable to use import state with Astro build https://astro.build/
To Reproduce
Steps to reproduce the behavior:
Getting following error, run
npm run build
Expected behavior
import should work
The text was updated successfully, but these errors were encountered: