mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Add one missing function and one missing class
This commit is contained in:
+6
@@ -18,6 +18,7 @@ export namespace Navigation {
|
||||
function handleDeepLink(params?: { link: string; payload?: string; }): void;
|
||||
function registerScreen(screenId: string, generator: () => React.ComponentType<any>): void;
|
||||
function getCurrentlyVisibleScreenId(): Promise<string>;
|
||||
function isAppLaunched(): Promise<boolean>;
|
||||
}
|
||||
|
||||
export interface TabBasedApp {
|
||||
@@ -155,6 +156,11 @@ export class ScreenVisibilityListener {
|
||||
unregister(): void;
|
||||
}
|
||||
|
||||
export class NativeEventsReceiver {
|
||||
constructor();
|
||||
appLaunched(callback: () => void): void;
|
||||
}
|
||||
|
||||
export interface ScreenVisibilityListenerParams {
|
||||
willAppear?: (params: ListenerParams) => void;
|
||||
didAppear?: (params: ListenerParams) => void;
|
||||
|
||||
Reference in New Issue
Block a user