Pass idler and statusupdate callback as an argument to the export persisted state function

Summary: This diff passes the idler and statusUpdate arguments to the export persisted state, as it is being used in the MobileConfig's export function

Reviewed By: passy

Differential Revision: D17715815

fbshipit-source-id: 98a0f0f5950254de2139c4aaa52cb73401c86c3c
This commit is contained in:
Pritesh Nandgaonkar
2019-10-04 05:28:36 -07:00
committed by Facebook Github Bot
parent 485898f5c7
commit 6e6873a4f6
2 changed files with 11 additions and 1 deletions

View File

@@ -101,6 +101,8 @@ export abstract class FlipperBasePlugin<
callClient: (method: string, params?: any) => Promise<any>,
persistedState: StaticPersistedState | undefined,
store: MiddlewareAPI | undefined,
idler?: Idler,
statusUpdate?: (msg: string) => void,
) => Promise<StaticPersistedState | undefined>)
| null;
static getActiveNotifications: