UNPKG

456 BTypeScriptView Raw
1import type { IModelOptions } from './types';
2/**
3 * Define Options for the Class
4 * @param options The Options to set
5 * @example Example:
6 * ```ts
7 * @modelOptions({ schemaOptions: { timestamps: true } })
8 * class ClassName {}
9 *
10 * // The default Class "TimeStamps" can be used for type information and options already set
11 * ```
12 */
13export declare function modelOptions(options: IModelOptions): ClassDecorator;
14export { modelOptions as ModelOptions };