• The serializable attribute should be used to annotate all serialized fields / fields and members that should be serialized and exposed in an editor

    Type Parameters

    • T

    Parameters

    • Optional type: Constructor<T> | TypeResolver<T> | (Constructor<any> | TypeResolver<T>)[]

      The type of the field. If not provided the type will be inferred from the constructor of the field. If the field is a primitive type (string, number, boolean) the type should be null.

    Returns ((_target, _propertyKey) => void)

      • (_target, _propertyKey): void
      • Parameters

        • _target: any
        • _propertyKey: string | {
              name: string;
          }

        Returns void

Generated using TypeDoc