You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TypeScript compiler complains that it cannot find the declaration file when importing from jimp/es
Failure Information (for bugs)
Could not find a declaration file for module 'jimp/es'.
Try `npm i --save-dev @types/jimp` if it exists or add a new declaration (.d.ts) file containing `declare module 'jimp/es';`
import Jimp from 'jimp/es';
Steps to Reproduce
Simply add
import Jimp from 'jimp/es';
Jimp Version: 0.22.5
Operating System: MacOS 13.2.1 (22D68)
Node version: v16.19.0
Failure Logs
The text was updated successfully, but these errors were encountered:
Expected Behavior
Types to resolve when using the ES build
Current Behavior
The TypeScript compiler complains that it cannot find the declaration file when importing from jimp/es
Failure Information (for bugs)
Steps to Reproduce
Simply add
Failure Logs
The text was updated successfully, but these errors were encountered: