rox-ssr
Version:
Rollout.io ROX JS SDK Client for SSR
25 lines (24 loc) • 709 B
TypeScript
interface IRoxStringInterface {
new (defaultValue: string, variations?: ReadonlyArray<string>): IRoxStringInterface;
/**
* The name of the string
*/
readonly name: string;
/**
* Default value of the string
*/
readonly defaultValue: string;
/**
* Returns the current value of the string, accounting for value overrides
*/
getValue(context?: any): string;
}
declare const internalRoxString: IRoxStringInterface;
/**
* Used to create and manage Rollout feature flags that determine different predefined values
*
* https://support.rollout.io/docs/nodejs-api#section--variant-
*/
export declare class RoxString extends internalRoxString {
}
export {};