1 | import { VNode, VNodeData } from 'snabbdom';
|
2 | export interface ThunkData extends VNodeData {
|
3 | fn(): VNode;
|
4 | args: Array<any>;
|
5 | }
|
6 | export interface Thunk extends VNode {
|
7 | data: ThunkData;
|
8 | }
|
9 | export declare function thunk(sel: string, fn: Function, args: Array<any>): Thunk;
|
10 | export declare function thunk(sel: string, key: any, fn: Function, args: Array<any>): Thunk;
|
11 | export default thunk;
|