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
When using moduleResolution: "node16" in tsconfig.json, the current package.jsonexports are not enough and TypeScript complains with:
Could not find a declaration file for module 'single-spa-react'. '.../node_modules/single-spa-react/lib/esm/single-spa-react.js' implicitly has an 'any' type.
Try npm i --save-dev @types/single-spa-react if it exists or add a new declaration (.d.ts) file containing declare module 'single-spa-react';
I manually edited your package.json in the node_modules folder and this config makes the error go away.
When using
moduleResolution: "node16"
intsconfig.json
, the currentpackage.json
exports
are not enough and TypeScript complains with:I manually edited your
package.json
in thenode_modules
folder and this config makes the error go away.The text was updated successfully, but these errors were encountered: