I got an error when I try to upgrade @casl/ability and @casl/react to the latest version
Module '"../../node_modules/@casl/react"' has no exported member 'BoundCanProps'. TS2305
1 | import { Ability } from "@casl/ability";
> 2 | import { BoundCanProps, createCanBoundTo } from "@casl/react";
| ^
3 | import { Fade } from "@material-ui/core";
4 | import { PropsWithChildren, ReactElement } from "react";
5 | import ability from "../utils/ability";
Yes, my bad. Give me few minutes to fix this. This is a configuration issue during build.
just published @casl/[email protected] with a fix
Thank you @stalniy <3
Most helpful comment
just published
@casl/[email protected]with a fix