Skip to content

array

@tsed/schema

Usage

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

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

Overview

ts
function array(): JsonSchema;

Description

Declare a new object model with additionalProperties: true.

json
{
  "type": "array"
}

See JsonSchema to discover available methods.

Released under the MIT License.