Rush StackShopBlogEvents
Skip to main content

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

IReadonlyPathTrieNode 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.

Readonly view of a node in the path trie used in LookupByPath

Signature:

export interface IReadonlyPathTrieNode<TItem extends {}> 

Remarks

This interface is used to facilitate parallel traversals for comparing two LookupByPath instances.

Properties

Property

Modifiers

Type

Description

children

readonly

ReadonlyMap<string, IReadonlyPathTrieNode<TItem>> | undefined

(BETA) Child nodes by subfolder

value

readonly

TItem | undefined

(BETA) The value that exactly matches the current relative path