update DeriveCustom type (#2581)

This commit is contained in:
qiuhao
2020-09-04 10:37:16 +02:00
committed by GitHub
parent 48a3a976f9
commit 825365bb13
+1 -1
View File
@@ -36,7 +36,7 @@ type DeriveAllSections<AllSections> = {
[Section in keyof AllSections]: DeriveSection<AllSections[Section]>
};
export type DeriveCustom = Record<string, Record<string, (api: ApiInterfaceRx) => (...args: any[]) => Observable<any>>>;
export type DeriveCustom = Record<string, Record<string, (instanceId: string, api: ApiInterfaceRx) => (...args: any[]) => Observable<any>>>;
export type ExactDerive = DeriveAllSections<typeof derive>;