UNPKG

@lyonbot/interactive-blocks

Version:

Make interactive selectable, drag-and-drop, copy-and-paste ready, Block and Slot components easily! Works with Vue, React and any MV* framework.

3 lines (2 loc) 146 B
export declare type ValueOrGetter<T> = T | ((owner: any) => T); export declare const getValueOf: <T>(value: ValueOrGetter<T>, owner: any) => T;