• It takes a ParamType and returns a decorator function that takes a target, propertyKey, and parameterIndex and stores the parameterIndex and type in a metadata array

    Parameters

    • type: ParamType

      ParamType - This is the type of parameter we're defining.

    Returns any

    A function that takes in a target, propertyKey, and parameterIndex.

Generated using TypeDoc