Missing type definitions files (*.d.ts)
Hi. I'm looking for a WebP library to use it in my TypeScript project. I just discovered this one but the package doesn't have type definitions files so it can't be used in **TypeScript** projects yet. It'd be so nice adding type definitions to the project.
The following errors appear because that.
```
Could not find a declaration file for module 'webp-wasm'. '/home/eptadot/source/test-webp/node_modules/webp-wasm/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/webp-wasm` if it exists or add a new declaration (*.d.ts) file containing `declare module 'webp-wasm';`
```
7 条评论