Please use serializable - this version has a typo and will be removed in future versions

  • Type Parameters

    • T

    Parameters

    • Optionaltype: null | Constructor<T> | TypeResolver<T> | (Constructor<any> | TypeResolver<T>)[]

    Returns (_target: any, _propertyKey: string | { name: string }) => void