node-web-mvc
Version:
node spring mvc
15 lines (14 loc) • 440 B
TypeScript
/**
* @module Controller
* @description 标注指定类为一个传统风格的controller
*/
declare class Controller {
}
/**
* 标注指定类为一个rest 风格的controller
*/
declare const _default: {
(target: Function): any;
(options: import("./Target").CreateOptions<typeof Controller>): ClassDecorator;
} & import("./annotation/type").LinkAnnotationType<typeof Controller> & typeof Controller;
export default _default;