Skip to content

any

@tsed/schema

Usage

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

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

Overview

ts
function any(...types: AnyJsonSchema[]): JsonSchema;

Description

Declare a model with any type (By default: integer, number, string, boolean, array, object, null)

See JsonSchema to discover available methods.

Released under the MIT License.