UNPKG

@tinacms/toolkit

Version:

Tina is a lightweight but powerful toolkit for creating a site editing ui with javascript components. Tina surfaces superpowers for dev’s to create, expand on and customize a simple yet intuitive ui for editing content.

17 lines (15 loc) 308 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; }