BackHandlerStatic returns NativeEventSubscription

This commit is contained in:
Yousef
2018-03-19 10:54:47 +01:00
committed by GitHub
parent e8bc07e649
commit 81ca7edca2

View File

@@ -6550,7 +6550,7 @@ export interface BackAndroidStatic {
*/
export interface BackHandlerStatic {
exitApp(): void;
addEventListener(eventName: BackPressEventName, handler: () => void): void;
addEventListener(eventName: BackPressEventName, handler: () => void): NativeEventSubscription;
removeEventListener(eventName: BackPressEventName, handler: () => void): void;
}