UNPKG

@featurevisor/types

Version:

Common Typescript types for Featurevisor

13 lines (10 loc) 228 B
import type { FeatureKey, Weight } from "./feature"; export interface Slot { feature: FeatureKey | false; percentage: Weight; // 0 to 100 } export interface Group { key: string; description: string; slots: Slot[]; }