diff --git a/types/rox-node/index.d.ts b/types/rox-node/index.d.ts index 80395b22fd..69a56d6364 100644 --- a/types/rox-node/index.d.ts +++ b/types/rox-node/index.d.ts @@ -92,7 +92,7 @@ export function setDynamicCustomPropertyRule( * * https://support.rollout.io/docs/nodejs-api#section-fetch */ -export function fetch(): Promise; +export function fetch(): void; /** * Creates a new Flag diff --git a/types/rox-node/rox-node-tests.ts b/types/rox-node/rox-node-tests.ts index 158167ccd6..5d22a02a8e 100644 --- a/types/rox-node/rox-node-tests.ts +++ b/types/rox-node/rox-node-tests.ts @@ -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');