Skip to content

Commit e246502

Browse files
committed
refactor: review over apps/meteor/app/lib/server/oauth/google.ts
1 parent 0f419ee commit e246502

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed
Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
declare module 'meteor/google-oauth' {
2-
export const Google: any;
2+
export const Google: {
3+
readonly name: string;
4+
readonly whitelistedFields: string[];
5+
requestCredential(
6+
options: Meteor.LoginWithExternalServiceOptions | undefined,
7+
credentialRequestCompleteCallback: (credentialTokenOrError?: string | Error) => void,
8+
): void;
9+
signIn?(
10+
options: Meteor.LoginWithExternalServiceOptions | undefined,
11+
callback?: (error: LoginError | undefined, result?: unknown) => void,
12+
): void;
13+
};
314
}

0 commit comments

Comments
 (0)