Error:
Could not find a declaration file for module 'extra-set'. '/node_modules/.pnpm/[email protected]/node_modules/extra-set/index.mjs' implicitly has an 'any' type.
There are types at '/node_modules/extra-set/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'extra-set' library may need to update its package.json or typings.
The error is correct, the package.json file for the npm packages does not declare the .d.s file as visible for module resolution:
"exports": {
"require": "./index.js",
"import": "./index.mjs"
},