UNPKG

@httpc/kit

Version:

httpc toolbox for building function-based API with minimal code and end-to-end type safety

5 lines (4 loc) 208 B
import type { IEvent } from "./types"; import { Constructor } from "../di"; export declare function handle(): MethodDecorator; export declare function handle(event: Constructor<IEvent>): MethodDecorator;