Skip to content

Commit

Permalink
update type
Browse files Browse the repository at this point in the history
  • Loading branch information
nikrom17 committed Jun 5, 2024
1 parent 3eea295 commit f8e1c11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,10 @@ export function getExperimentation(): Experimentation | null {
return null;
}

export function getFirstRenderExperiments(): FirstRenderExperiments | null {
export function getFirstRenderExperiments(): FirstRenderExperiments | Object {
if (typeof __FIRST_RENDER_EXPERIMENTS__ !== "undefined") {
return __FIRST_RENDER_EXPERIMENTS__;
}

return {};
}
6 changes: 3 additions & 3 deletions src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ export type GetExperimentation = {
[any]: empty,
};

export type FirstRenderExperiments = {
[key: string]: boolean,
};
export type FirstRenderExperiments = {|
venmoVaultWithoutPurchase?: boolean,
|};

0 comments on commit f8e1c11

Please sign in to comment.