Skip to content

time

@tsed/schema

Usage ​

typescript
import { time } from "@tsed/schema";

See /packages/specs/schema/src/fn/date.ts.

Overview ​

ts
function time(): import("@tsed/schema").JsonSchema<Date>;

Description ​

Declare a new string model with format: time.

See JsonSchema to discover available methods.

Released under the MIT License.