css-paint-polyfill icon indicating copy to clipboard operation
css-paint-polyfill copied to clipboard

Add types definition

Open mauriciabad opened this issue 2 years ago • 0 comments

I get this error when using this package in a TypeScript file

Could not find a declaration file for module 'css-paint-polyfill'. '/home/Project/node_modules/css-paint-polyfill/dist/css-paint-polyfill.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/css-paint-polyfill` if it exists or add a new declaration (.d.ts) file containing `declare module 'css-paint-polyfill';`ts(7016)

But when I try to run npm i --save-dev @types/css-paint-polyfill the package @types/css-paint-polyfill does not exist.

Could type definitions be added? Even if they are empty.

mauriciabad avatar Jan 20 '23 07:01 mauriciabad