Type alias ResolveTimestamps<T, O>

ResolveTimestamps<T, O>: O extends {
        timestamps: true;
    }
    ? O extends {
            methods: any;
        } | {
            statics: any;
        } | {
            virtuals: any;
        }
        ? T
        : {
            createdAt: NativeDate;
            updatedAt: NativeDate;
        } & T
    : T

Type Parameters

  • T

  • O

Generated using TypeDoc