Skip to content

Commit 8794a24

Browse files
nanot1mjamiebuilds
authored andcommitted
Fixed flow definition for defaultValue
1 parent 5582e9b commit 8794a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js.flow

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ export type Context<T> = {
2323
};
2424

2525
declare export default function createReactContext<T>(
26-
defaultValue: string
26+
defaultValue: T
2727
): Context<T>;

0 commit comments

Comments
 (0)