From c0934c470f101ae29e331af41c1f22e8a5932773 Mon Sep 17 00:00:00 2001 From: Joey Jan Date: Mon, 4 Jun 2018 11:01:56 -0400 Subject: [PATCH] react-native: add getRunnable method to AppRegistry (#26213) * add getRunnable method to AppRegistry * Update index.d.ts --- types/react-native/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 168db34cc5..ef574ec807 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -479,6 +479,8 @@ export namespace AppRegistry { function runApplication(appKey: string, appParameters: any): void; function registerHeadlessTask(appKey: string, task: TaskProvider): void; + + function getRunnable(appKey: string): Runnable | undefined; } export interface LayoutAnimationTypes {