Skip to content

For

@tsed/schema

Usage ​

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

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

Overview ​

ts
function For(specType: SpecTypes, schema: any): (...args: any[]) => any;

Description ​

Apply a specific schema depending on the spec version

Released under the MIT License.