Skip to content

Commit

Permalink
Always use singular ReactNode type.
Browse files Browse the repository at this point in the history
  • Loading branch information
molefrog committed Jul 22, 2019
1 parent 7da88c0 commit 66ceba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Expand Up @@ -62,7 +62,7 @@ export interface RouterProps {
}
export const Router: FunctionComponent<
Partial<RouterProps> & {
children: ReactNode | ReactNode[];
children: ReactNode;
}
>;

Expand Down

0 comments on commit 66ceba1

Please sign in to comment.