Skip to content

WriteOnly

@tsed/schema

Usage

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

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

Overview

ts
function WriteOnly(writeOnly?: boolean): (...args: any[]) => any;

Description

Set the property as WriteOnly.

Released under the MIT License.