From 325c1ad66d3449927a176d0fc439b520941f28e2 Mon Sep 17 00:00:00 2001 From: John Denver Date: Wed, 7 Sep 2022 17:37:58 +0800 Subject: [PATCH] fix: remote config client types --- src/common/interface/remote-config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/interface/remote-config.ts b/src/common/interface/remote-config.ts index 8f2363e..9e0bd8e 100644 --- a/src/common/interface/remote-config.ts +++ b/src/common/interface/remote-config.ts @@ -1,7 +1,7 @@ export interface RemoteConfigClient { - close: (...args: any[]) => Promise; - init: (...args: any[]) => Promise>; - sync: (...args: any[]) => Promise>; + close?: (...args: any[]) => Promise; + init: (...args: any[]) => Promise>; + sync: (...args: any[]) => Promise>; subscribe?: (key: string, callback: (value: any) => any) => Promise; }