dazjsx
Version:
参考nestjs,基于KOA2的一款轻量级的后端开发框架
6 lines (5 loc) • 706 B
TypeScript
export declare const Get: (path?: string) => (target: Object, key: string | symbol, descriptor: TypedPropertyDescriptor<unknown>) => void;
export declare const Post: (path?: string) => (target: Object, key: string | symbol, descriptor: TypedPropertyDescriptor<unknown>) => void;
export declare const Put: (path?: string) => (target: Object, key: string | symbol, descriptor: TypedPropertyDescriptor<unknown>) => void;
export declare const Patch: (path?: string) => (target: Object, key: string | symbol, descriptor: TypedPropertyDescriptor<unknown>) => void;
export declare const Delete: (path?: string) => (target: Object, key: string | symbol, descriptor: TypedPropertyDescriptor<unknown>) => void;