Type Alias ResultNodeTyper<T, K>Internal

ResultNodeTyper: { type: T } & Record<K, string | null>

Internal type for creating a node with a type field and any additional field as a string or null.

Type Parameters

  • T

    The value for the type property.

  • K extends string

    Key name of the additional string (or null) fields.