Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/lookup-by-path > ISerializedPathTrieNode

ISerializedPathTrieNode interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

JSON-serializable representation of a node in a LookupByPath trie.

Signature:

export interface ISerializedPathTrieNode 

Properties

Property

Modifiers

Type

Description

children?

Record<string, ISerializedPathTrieNode>

(BETA) (Optional) Child nodes keyed by path segment.

valueIndex?

number

(BETA) (Optional) Index into the values array of the containing ILookupByPathJson. If undefined, this node has no associated value.