@chief-editor/flow
Version:
Old核心数据流
5 lines (4 loc) • 323 B
TypeScript
import { IEventConfig } from '@chief-editor/base';
import { FlowBrick } from '../lib/FlowBrick';
export declare type IFlowEventMap = Record<string, (e: Event | string, value: any) => void>;
export declare function extractEvents<V, DS, DP, CG, ST>(brick: FlowBrick<V, DS, DP, CG, ST>, events?: IEventConfig): IFlowEventMap;