UNPKG

@studiometa/js-toolkit

Version:

A set of useful little bits of JavaScript to boost your project! 🚀

17 lines (16 loc) • 469 B
export type Features = { blocking: boolean; breakpoints: Record<string, string>; prefix: string; attributes: { component: string; option: string; ref: string; }; }; interface FeaturesMap extends Map<keyof Features, Features[keyof Features]> { get<T extends keyof Features>(key: T): Features[T]; set<T extends keyof Features>(key: T, value: Features[T]): this; } export declare const features: FeaturesMap; export {};