UNPKG

tinacms

Version:

[![GitHub license](https://img.shields.io/github/license/tinacms/tinacms?color=blue)](https://github.com/tinacms/tinacms/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/tinacms.svg?style=flat)](https://www.npmjs.com/package/tinacms) [![Bui

14 lines (13 loc) 300 B
import { EventBus } from './event'; export interface SetFlagEvent { type: 'flag:set'; key: string; value: boolean; } export declare class Flags { private events; private _flags; constructor(events: EventBus); get(key: any): boolean; set(key: any, value: any): void; }