UNPKG

taggedjs

Version:

tagged template reactive html

7 lines (6 loc) 612 B
import { AnySupport } from '../tag/AnySupport.type.js'; import { Callback } from './callbackMaker.function.js'; import { StateMemory } from './StateMemory.type.js'; /** Wrap a function that will be called back. After the wrapper and function are called, a rendering cycle will update display */ export declare function callback<A, B, C, D, E, F, T>(callback: Callback<A, B, C, D, E, F, T>): (A?: A, B?: B, C?: C, D?: D, E?: E, F?: F) => T; export declare function createTrigger<A, B, C, D, E, F, T>(support: AnySupport, oldState: StateMemory, toCallback: Callback<A, B, C, D, E, F, T>): (...args: any[]) => any;