UNPKG

nats-micro

Version:

NATS micro compatible extra-lightweight microservice library

3 lines (2 loc) 265 B
import { MethodDecoratorOptions, MethodDescriptor } from '../types/index.js'; export declare function method<T = void, R = void>(options?: MethodDecoratorOptions<T, R>): <D extends MethodDescriptor<T, R>>(target: unknown, key: string | symbol, descriptor: D) => D;