Skip to content

Commit

Permalink
fix missing resetStore option for onLogout in type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
maximdeclercq committed Jul 28, 2021
1 parent 83e4642 commit f61a09a
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 f61a09a

Please sign in to comment.