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
Already tried yarn unplug jimp, has no effect, type Jimp is still resolved to any.
In tsconfig.json, "skipLibCheck": true appears to be required, removing it throws 27 errors: error TS2307: Cannot find module '@jimp/core' or its corresponding type declarations. Might be worth looking into as well.
Expected Behavior
Yarn types are available in IDE and used by Typescript for type-checking.
Current Behavior
Types are not available, IDE shows
(alias) type Jimp = any
. Typescript does not throw an error atJimp.thisFunctionDoesNotExist();
.Failure Information (for bugs)
Steps to Reproduce
git clone [email protected]:marvinruder/jimp-no-types-available.git && cd jimp-no-types-available
yarn
yarn build
yarn start
import Jimp from "jimp";
shows(alias) type Jimp = any
Screenshots
Context
Context is given in marvinruder/jimp-no-types-available and was briefly mentioned in #1189.
The text was updated successfully, but these errors were encountered: