Skip to content

Commit 42b922f

Browse files
committed
update ts def
1 parent cbd39bd commit 42b922f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MentionsContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface MentionsContextProps {
1010
onFocus: () => void;
1111
}
1212

13-
const MentionsContext: Context<MentionsContextProps> = createReactContext(null);
13+
const MentionsContext: Context<MentionsContextProps | null> = createReactContext(null);
1414

1515
export const MentionsContextProvider = MentionsContext.Provider;
1616
export const MentionsContextConsumer = MentionsContext.Consumer;

0 commit comments

Comments
 (0)