mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
Fix rox-node fetch() return type (#40153)
This commit is contained in:
committed by
Nathan Shively-Sanders
parent
1ef0f7d3b2
commit
625d9ea5ee
Vendored
+1
-1
@@ -92,7 +92,7 @@ export function setDynamicCustomPropertyRule(
|
||||
*
|
||||
* https://support.rollout.io/docs/nodejs-api#section-fetch
|
||||
*/
|
||||
export function fetch(): Promise<unknown>;
|
||||
export function fetch(): void;
|
||||
|
||||
/**
|
||||
* Creates a new Flag
|
||||
|
||||
@@ -22,6 +22,8 @@ Rox.setup('ROLLOUT_IO_KEY', {
|
||||
configurationFetchedHandler,
|
||||
}).then(linkTargetGroupAttributes);
|
||||
|
||||
Rox.fetch();
|
||||
|
||||
Rox.dynamicApi.isEnabled('system.repotAnalytics', false);
|
||||
Rox.dynamicApi.value('ui.textColor', 'red');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user