Function Unique

  • Sets unique option as specified in options and returns decorator

    Parameters

    • options: UniqueOptions

    Returns Function

  • Decorator, which sets unique option true for annotated property.

    Parameters

    • target: Object
    • propertyName: string

    Returns void

Generated using TypeDoc