Function modelOptions

  • Define Options for the Class

    Parameters

    Returns ClassDecorator

    Example

    Example:

    @modelOptions({ schemaOptions: { timestamps: true } })
    class ClassName {}

    // The default Class "TimeStamps" can be used for type information and options already set

Generated using TypeDoc