Closed hckhanh closed 3 years ago
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/react@2.2.1 with a fix
@casl/react@2.2.1
Thank you @stalniy <3
I got an error when I try to upgrade @casl/ability and @casl/react to the latest version