Skip to content

Commit ecedab1

Browse files
fixed wrong interface (#66)
1 parent 79129ab commit ecedab1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/definitions.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
import { Authentication, User } from "./user";
2+
13
declare module "@capacitor/core" {
24
interface PluginRegistry {
35
GoogleAuth: GoogleAuthPlugin;
46
}
57
}
68

79
export interface GoogleAuthPlugin {
8-
signIn(options: { value: string }): Promise<{value: string}>;
10+
signIn(): Promise<User>;
11+
refresh(): Promise<Authentication>;
12+
signOut(): Promise<any>;
913
}

0 commit comments

Comments
 (0)