# PropertyName Decorator

Module
import { PropertyName } from "@tsed/common"
Source/packages/common/src/jsonschema/decorators/propertyName.ts

# Overview

function PropertyName(name: string): Function;

# Description

Create an alias of the propertyKey that must be used by the converter.

TIP

This decorator is used by the Converters to deserialize correctly you model.

# Example

class Model {
   @PropertyType(String)
   property: string[];
}
1
2
3
4

:::