Skip to content

Commit

Permalink
fix(types): add missing resetStore option for onLogout
Browse files Browse the repository at this point in the history
  • Loading branch information
maximdeclercq committed Jul 28, 2021
1 parent 83e4642 commit bc823c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export interface ApolloHelpers {
cookieAttributes?: number | CookieAttributes,
skipResetStore?: boolean
): Promise<void>;
onLogout(apolloClient?: ApolloClient<any>): Promise<void>;
onLogout(
apolloClient?: ApolloClient<any>,
skipResetStore?: boolean
): Promise<void>;
getToken(tokenName?: string): string;
}

0 comments on commit bc823c6

Please sign in to comment.