Skip to content

Commit 8e421b8

Browse files
authored
This is not needed anymore (#99)
1 parent 87065fe commit 8e421b8

File tree

1 file changed

+0
-8
lines changed
  • packages/react-arborist/src/types

1 file changed

+0
-8
lines changed

packages/react-arborist/src/types/utils.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ export interface IdObj {
77

88
export type Identity = string | IdObj | null;
99

10-
// Forward ref can't forward generics without this little re-declare
11-
// https://fettblog.eu/typescript-react-generic-forward-refs/
12-
declare module "react" {
13-
function forwardRef<T, P = {}>(
14-
render: (props: P, ref: React.Ref<T>) => React.ReactElement | null
15-
): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
16-
}
17-
1810
export type BoolFunc<T> = (data: T) => boolean;
1911

2012
export type ActionTypes<

0 commit comments

Comments
 (0)