Skip to content

Commit 17f76a9

Browse files
committed
fix(react): adds ts defs for not attribute
1 parent d727230 commit 17f76a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/casl-react/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ type BaseProps = {
1717

1818
type CanPropsStrict = BaseProps & {
1919
ability: Ability
20+
not: boolean
2021
}
2122

2223
type CanProps = BaseProps & {
2324
ability?: Ability
25+
not: boolean
2426
}
2527

2628
declare class CanComponent<T> extends PureComponent<T> {

0 commit comments

Comments
 (0)