svelte-accessible-dialog icon indicating copy to clipboard operation
svelte-accessible-dialog copied to clipboard

Import statement does not work

Open frogdesk opened this issue 1 year ago • 0 comments

After installing the package, attempting to use the import statement provided in the example on the readme fails and gives this error:

All imports in import declaration are unused.js(6192)
Could not find a declaration file for module 'svelte-accessible-dialog'. '.../node_modules/.pnpm/[email protected]/node_modules/svelte-accessible-dialog/dist/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/svelte-accessible-dialog` if it exists or add a new declaration (.d.ts) file containing `declare module 'svelte-accessible-dialog';`js(7016)

frogdesk avatar May 27 '23 21:05 frogdesk