Skip to content

Commit 5e3adf7

Browse files
author
zhangb14
committed
refactor: add children type to OidcProvder for reactjs 18
1 parent 73a7374 commit 5e3adf7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ declare module "redux-oidc" {
4343
export interface OidcProviderProps<TSTate> {
4444
readonly userManager: UserManager;
4545
readonly store: Store<TSTate>;
46+
children?: React.ReactNode;
4647
}
4748

4849
export class OidcProvider<TState> extends React.Component<

0 commit comments

Comments
 (0)