UNPKG

pricing4react

Version:

A library of components that ease the integration of feature toggling driven by pricing plans into your React application's UI.

10 lines (9 loc) 345 B
import { NAryFunction } from "./NAryFunction"; import { ResultValue } from "./ResultValue"; export declare class Constant<T> implements NAryFunction<T> { value: T; constructor(value: T); eval(): Promise<ResultValue<T>>; equals(other: NAryFunction<any>): boolean; } export default function constant<T>(value: T): NAryFunction<T>;