UNPKG

rox-ssr

Version:

Rollout.io ROX JS SDK Client for SSR

20 lines (19 loc) 472 B
interface FlagInterface { new (defaultValue: boolean): FlagInterface; /** * The name of the Flag */ readonly name: string; /** * Default value of the Flag, as string: 'true' or 'false' */ readonly defaultValue: string; /** * Returns true when the flag is enabled */ isEnabled(context?: any): boolean; } declare const internalRoxFlag: FlagInterface; export declare class Flag extends internalRoxFlag { } export {};