diff --git a/types/react-native-google-signin/index.d.ts b/types/react-native-google-signin/index.d.ts index 6cf83ed1e4..cb366dcc0d 100644 --- a/types/react-native-google-signin/index.d.ts +++ b/types/react-native-google-signin/index.d.ts @@ -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 +// Michele Bombardi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -144,3 +145,10 @@ export namespace GoogleSignin { */ function revokeAccess(): Promise; } + +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', +}