Skip to content

Property

@tsed/schema

Usage

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

See /packages/specs/schema/src/types/decorators/common/property.ts.

Overview

ts
function Property(type?: any): (...args: any[]) => any;

Description

Declare a new property on a model.

Released under the MIT License.