Skip to main content
Module

x/class_transformer/mod.ts>Type

Deno port of class-transformer
Latest
function Type
import { Type } from "https://deno.land/x/class_transformer@v0.2.3-beta.1/mod.ts";

Specifies a type of the property. The given TypeFunction can return a constructor. A discriminator can be given in the options.

Parameters

optional
typeFunction: (type?: TypeHelpOptions) => Function
optional
options: TypeOptions