Class TypeRegistry<T>

Type Parameters

  • T

Hierarchy

  • TypeRegistry

Constructors

Properties

classes: Map<ClassType<any>, T> = ...
decorators: RegistryDecorator<T>[] = []
results: {
    0: undefined | T;
    1: undefined | T;
    10: undefined | T;
    11: undefined | T;
    12: undefined | T;
    13: undefined | T;
    14: undefined | T;
    15: undefined | T;
    16: undefined | T;
    17: undefined | T;
    18: undefined | T;
    19: undefined | T;
    2: undefined | T;
    20: undefined | T;
    21: undefined | T;
    22: undefined | T;
    23: undefined | T;
    24: undefined | T;
    25: undefined | T;
    26: undefined | T;
    27: undefined | T;
    28: undefined | T;
    29: undefined | T;
    3: undefined | T;
    30: undefined | T;
    31: undefined | T;
    32: undefined | T;
    33: undefined | T;
    34: undefined | T;
    4: undefined | T;
    5: undefined | T;
    6: undefined | T;
    7: undefined | T;
    8: undefined | T;
    9: undefined | T;
} = {}

Type declaration

  • 0: undefined | T
  • 1: undefined | T
  • 10: undefined | T
  • 11: undefined | T
  • 12: undefined | T
  • 13: undefined | T
  • 14: undefined | T
  • 15: undefined | T
  • 16: undefined | T
  • 17: undefined | T
  • 18: undefined | T
  • 19: undefined | T
  • 2: undefined | T
  • 20: undefined | T
  • 21: undefined | T
  • 22: undefined | T
  • 23: undefined | T
  • 24: undefined | T
  • 25: undefined | T
  • 26: undefined | T
  • 27: undefined | T
  • 28: undefined | T
  • 29: undefined | T
  • 3: undefined | T
  • 30: undefined | T
  • 31: undefined | T
  • 32: undefined | T
  • 33: undefined | T
  • 34: undefined | T
  • 4: undefined | T
  • 5: undefined | T
  • 6: undefined | T
  • 7: undefined | T
  • 8: undefined | T
  • 9: undefined | T

Methods

  • Registers a template for all binary classes: ArrayBuffer, Uint8Array, Int8Array, etc.

    Parameters

    • v: T

    Returns void

  • Registers a template for a given class type.

    As soon as a single template has registered for the given classType the template registry only returns templates for this particular classType and omits all general purpose ReflectionKind.class templates for this particular classType.

    Parameters

    • classType: ClassType<any>
    • v: T

    Returns void

Generated using TypeDoc