Skip to content

Commit e9f3f26

Browse files
kingdarojamiebuilds
authored andcommitted
make children required in ProviderProps
1 parent 3ee9b23 commit e9f3f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type Context<T> = {
99

1010
export type ProviderProps<T> = {
1111
value: T;
12-
children?: React.ReactNode;
12+
children: React.ReactNode;
1313
};
1414

1515
export type ConsumerProps<T> = {

0 commit comments

Comments
 (0)