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 exports field is still fairly new for Typescript users, most of whom still have "moduleResolution": "node" in their tsconfig.jsons. Such is the case of this repo as well.
The latest PR #404 from @benmccann removed the main, module, and types fields which node relies on for its module resolution.
src/blur/index.ts(1,29): error TS2307: Cannot find module 'imagetools-core' or its corresponding type declarations.
src/blur/index.ts(4,39): error TS2307: Cannot find module 'imagetools-core' or its corresponding type declarations.
src/blur/index.ts(42,33): error TS7006: Parameter 'config' implicitly has an 'any' type.
error Command failed with exit code 1.
AFAIK, the aforementioned fields can coexist with the exports fields.
The text was updated successfully, but these errors were encountered:
The
exports
field is still fairly new for Typescript users, most of whom still have"moduleResolution": "node"
in theirtsconfig.json
s. Such is the case of this repo as well.The latest PR #404 from @benmccann removed the
main
,module
, andtypes
fields which node relies on for its module resolution.AFAIK, the aforementioned fields can coexist with the
exports
fields.The text was updated successfully, but these errors were encountered: