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
Type error: Could not find a declaration file for module 'use-shopping-cart/utilities'. 'D:/dev/node/next.js/examples/with-stripe-typescript/node_modules/use-shopping-cart/utilities/index.js' implicitly has an 'any' type.
If the 'use-shopping-cart' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module 'use-shopping-cart/utilities';`
When importing
validateCartItems
inside a TypeScript project, you will get an error.Example code:
Related:
#231 (comment)
vercel/next.js#50541
vercel/next.js#50574
The text was updated successfully, but these errors were encountered: