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 {
21
21
FetchStatus as FetchSTatusCompat ,
22
22
Settings as SettingsCompat ,
23
23
LogLevel as RemoteConfigLogLevel ,
24
- RemoteConfig as RemoteConfigCompat
24
+ RemoteConfig as RemoteConfigCompat ,
25
+ CustomSignals as RemoteConfigCustomSignals
25
26
} from '@firebase/remote-config-types' ;
26
27
import {
27
28
RemoteConfig ,
@@ -35,7 +36,8 @@ import {
35
36
getNumber ,
36
37
getString ,
37
38
getValue ,
38
- isSupported
39
+ isSupported ,
40
+ setCustomSignals
39
41
} from '@firebase/remote-config' ;
40
42
41
43
export { isSupported } ;
@@ -115,4 +117,8 @@ export class RemoteConfigCompatImpl
115
117
setLogLevel ( logLevel : RemoteConfigLogLevel ) : void {
116
118
setLogLevel ( this . _delegate , logLevel ) ;
117
119
}
120
+
121
+ setCustomSignals ( customSignals : RemoteConfigCustomSignals ) : Promise < void > {
122
+ return setCustomSignals ( this . _delegate , customSignals ) ;
123
+ }
118
124
}
Original file line number Diff line number Diff line change @@ -97,6 +97,11 @@ export interface RemoteConfig {
97
97
* Defines the log level to use.
98
98
*/
99
99
setLogLevel ( logLevel : LogLevel ) : void ;
100
+
101
+ /**
102
+ * Sets custom signals for the Remote Config instance.
103
+ */
104
+ setCustomSignals ( customSignals : CustomSignals ) : Promise < void > ;
100
105
}
101
106
102
107
/**
You can’t perform that action at this time.
0 commit comments