mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
react-native-google-signin: StatusCodes enum
This commit is contained in:
+8
@@ -1,6 +1,7 @@
|
||||
// Type definitions for react-native-google-signin 0.12
|
||||
// Project: https://github.com/devfd/react-native-google-signin
|
||||
// Definitions by: Jacob Froman <https://github.com/j-fro>
|
||||
// Michele Bombardi <https://github.com/bm-software>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
@@ -144,3 +145,10 @@ export namespace GoogleSignin {
|
||||
*/
|
||||
function revokeAccess(): Promise<void>;
|
||||
}
|
||||
|
||||
export enum StatusCodes {
|
||||
SIGN_IN_CANCELLED = '12501',
|
||||
IN_PROGRESS = 'ASYNC_OP_IN_PROGRESS',
|
||||
PLAY_SERVICES_NOT_AVAILABLE = 'PLAY_SERVICES_NOT_AVAILABLE',
|
||||
SIGN_IN_REQUIRED = '4',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user