woby
Version:
A high-performance framework with fine-grained observable/signal-based reactivity for building rich applications.
4 lines • 376 B
TypeScript
import type { DirectiveFunction, Directive, DirectiveOptions, ExtractArray } from '../types';
declare const createDirective: <T extends keyof JSX.Directives>(name: T, fn: DirectiveFunction<ExtractArray<JSX.Directives[T]>>, options?: DirectiveOptions) => Directive<ExtractArray<JSX.Directives[T]>>;
export default createDirective;
//# sourceMappingURL=create_directive.d.ts.map