Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add types definition #35

Open
mauriciabad opened this issue Jan 20, 2023 · 0 comments
Open

Add types definition #35

mauriciabad opened this issue Jan 20, 2023 · 0 comments

Comments

@mauriciabad
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant