This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
import("../ripple") in type declaration files #857
Closed

Description
There is an issue with the declaration files provided with v0.12.0 where any component that uses the withRipple
HOC will have a declaration file that includes import("../ripple")
. This causes our type checks to fail since it can't resolve the relative import.
$ tsc
node_modules/@material/react-button/dist/index.d.ts:21:4759 - error TS2307: Cannot find module '../ripple'.
The workaround for anyone having this issue is to add "skipLibCheck": true
to your tsconfig.json
Metadata
Metadata
Assignees
Labels
No labels