Skip to content

Commit

Permalink
fix: revert format
Browse files Browse the repository at this point in the history
  • Loading branch information
paulleonartcalvo committed Sep 19, 2024
1 parent 7671d13 commit 8eaaeb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/casl-react/src/factory.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createElement as h, ComponentClass, Consumer, FunctionComponent } from 'react';
import { AnyAbility } from '@casl/ability';
import { ComponentClass, Consumer, FunctionComponent, createElement as h } from 'react';
import { BoundCanProps, Can } from './Can';
import { Can, BoundCanProps } from './Can';

interface BoundCanClass<T extends AnyAbility> extends ComponentClass<BoundCanProps<T>> {
new (props: BoundCanProps<T>, context?: any): Can<T, true>
Expand Down

0 comments on commit 8eaaeb4

Please sign in to comment.