# Function map

Function schemaFunctional
Module
import { map } from "@tsed/schema"
Source/packages/schema/src/utils/from.ts

# Overview

function map(): JsonSchema;

# Description

Declare a new object model with additionalProperties: true.

{
  "type": "object",
  "additionalProperties": true
}
1
2
3
4

See JsonSchema to discover available methods.

Other topics