File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ import {
2121 FetchStatus as FetchSTatusCompat ,
2222 Settings as SettingsCompat ,
2323 LogLevel as RemoteConfigLogLevel ,
24- RemoteConfig as RemoteConfigCompat
24+ RemoteConfig as RemoteConfigCompat ,
25+ CustomSignals as RemoteConfigCustomSignals
2526} from '@firebase/remote-config-types' ;
2627import {
2728 RemoteConfig ,
@@ -35,7 +36,8 @@ import {
3536 getNumber ,
3637 getString ,
3738 getValue ,
38- isSupported
39+ isSupported ,
40+ setCustomSignals
3941} from '@firebase/remote-config' ;
4042
4143export { isSupported } ;
@@ -115,4 +117,8 @@ export class RemoteConfigCompatImpl
115117 setLogLevel ( logLevel : RemoteConfigLogLevel ) : void {
116118 setLogLevel ( this . _delegate , logLevel ) ;
117119 }
120+
121+ setCustomSignals ( customSignals : RemoteConfigCustomSignals ) : Promise < void > {
122+ return setCustomSignals ( this . _delegate , customSignals ) ;
123+ }
118124}
Original file line number Diff line number Diff line change @@ -97,6 +97,11 @@ export interface RemoteConfig {
9797 * Defines the log level to use.
9898 */
9999 setLogLevel ( logLevel : LogLevel ) : void ;
100+
101+ /**
102+ * Sets custom signals for the Remote Config instance.
103+ */
104+ setCustomSignals ( customSignals : CustomSignals ) : Promise < void > ;
100105}
101106
102107/**
You can’t perform that action at this time.
0 commit comments