Type alias CurrentDate<Schema>

CurrentDate<Schema>: {
    [K in keyof Schema as Schema[K] extends Date | {
            $date: number;
        }
        ? K
        : never]?: boolean
}

Types the $currentDate operation. Not inherently strict or weak.

Type Parameters

  • Schema