Skip to content

Add types definition #35

@mauriciabad

Description

@mauriciabad

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions