node-web-mvc
Version:
node spring mvc
21 lines (20 loc) • 750 B
TypeScript
import Locale from '../locale/Locale';
declare class JsonFormat {
pattern: string;
locale?: Locale;
}
/**
* 标记指定的类或者指定字段或者指定参数
* 在序列化或者反序列化时格式
*/
declare const _default: {
(options: import("../servlets/annotations/Target").CreateOptions<typeof JsonFormat>): (target: Function | Object, name?: string, p?: number) => any;
(target: Function): any;
(target: {
[x: string]: any;
}, propertyKey: string, p?: void): void;
(target: {
[x: string]: any;
}, propertyKey: string, parameterIndex: number): any;
} & import("../servlets/annotations/annotation/type").LinkAnnotationType<typeof JsonFormat> & typeof JsonFormat;
export default _default;