Skip to content

Commit

Permalink
fix: subscribe argument
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoGathK committed Sep 8, 2022
1 parent 7c9f742 commit 20428be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/interface/remote-config.ts
Expand Up @@ -2,7 +2,7 @@ export interface RemoteConfigClient {
close?: (...args: any[]) => Promise<any>;
init: (...args: any[]) => Promise<Partial<any>>;
sync: (...args: any[]) => Promise<Partial<any>>;
subscribe?: (key: string, callback: (value: any) => any) => Promise<void>;
subscribe?: (key: string, callback: (value: any) => any, ...args: any[]) => Promise<void>;
}

export interface RemoteConfigInfo<T = any> {
Expand Down

0 comments on commit 20428be

Please sign in to comment.