Skip to content

from

@tsed/schema

Usage

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

See /packages/specs/schema/src/types/fn/from.ts.

Overview

ts
function from(type?: Type<any>): JsonSchema;

Description

Create a new model from the given type.

typescript
from(String)

See JsonSchema to discover available methods.

Released under the MIT License.