Class Deserializer

Constructors

Properties

oldIdToNewId: Record<number, undefined | number> = {}
project: undefined | Models.ProjectReflection
reflectionBuilders: {
    declaration: ((parent, obj) => Models.DeclarationReflection);
    param: ((parent, obj) => Models.ParameterReflection);
    project: ((parent, obj) => Models.ProjectReflection);
    reference: ((parent, obj) => Models.ReferenceReflection);
    signature: ((parent, obj) => Models.SignatureReflection);
    typeParam: ((parent, obj) => Models.TypeParameterReflection);
} = ...
typeBuilders: {
    array: ((obj, de) => Models.ArrayType);
    conditional: ((obj, de) => Models.ConditionalType);
    indexedAccess: ((obj, de) => Models.IndexedAccessType);
    inferred: ((obj, de) => Models.InferredType);
    intersection: ((obj, de) => Models.IntersectionType);
    intrinsic: ((obj, de) => Models.IntrinsicType);
    literal: ((obj, de) => Models.LiteralType);
    mapped: ((obj, de) => Models.MappedType);
    namedTupleMember: ((obj, de) => NamedTupleMember);
    optional: ((obj, de) => Models.OptionalType);
    predicate: ((obj, de) => Models.PredicateType);
    query: ((obj, de) => Models.QueryType);
    reference: ((obj, de) => Models.ReferenceType);
    reflection: ((obj, de) => Models.ReflectionType);
    rest: ((obj, de) => Models.RestType);
    templateLiteral: ((obj, de) => Models.TemplateLiteralType);
    tuple: ((obj, de) => Models.TupleType);
    typeOperator: ((obj, de) => Models.TypeOperatorType);
    union: ((obj, de) => Models.UnionType);
    unknown: ((obj, de) => Models.UnknownType);
} = ...

Type declaration

Accessors

Methods

  • Defers work until the initial pass of serialization has been completed. This can be used to set up references which cannot be immediately restored.

    May only be called when deserializing.

    Parameters

    Returns void

Generated using TypeDoc