Skip to content

map

@tsed/schema

Usage

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

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

Overview

ts
function map(): JsonSchema;

Description

Declare a new object model with additionalProperties: true.

json
{
  "type": "object",
  "additionalProperties": true
}

See JsonSchema to discover available methods.

Released under the MIT License.