Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 4246fca

Browse files
committed
fixed type in createRexStore
1 parent 41a499b commit 4246fca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import React, {
88
Context
99
} from "react";
1010

11-
export const createRexStore: <T extends { [key: string]: new () => Rex<any> }>(
11+
export const createRexStore: <T extends { [key: string]: new () => any }>(
1212
store: T
1313
) => {
1414
RexProvider: ({ children }: { children: React.ReactNode }) => JSX.Element;

0 commit comments

Comments
 (0)