Function return type is illegal, not sure how this passed eslint (#21567)
This commit is contained in:
1 parent
f4b0219a0e
commit
e4434f199d
1 file changed
+8
-2
@@ -51,8 +51,14 @@ export type MockOAuth2Client = {
|
||||
type: "oauth2";
|
||||
args: [string, string, string];
|
||||
setCredentials: typeof setCredentialsMock;
|
||||
refreshToken: Function;
|
||||
isTokenExpiring: Function;
|
||||
refreshToken: () => Promise<{
|
||||
res: {
|
||||
data: typeof MOCK_OAUTH2_TOKEN;
|
||||
status: number;
|
||||
statusText: string;
|
||||
};
|
||||
}>;
|
||||
isTokenExpiring: () => boolean;
|
||||
};
|
||||
|
||||
export const MOCK_JWT_TOKEN = {
|
||||
|
||||
Reference in new issue
Block a user