Skip to main content

ReadonlyArrayNode Interface

A covariant base type for TreeArrayNode.

This provides the readonly subset of TreeArrayNode functionality, and is used as the source interface for moves since that needs to be covariant.

This API is reserved for internal system use and should not be imported directly. It may change at any time without notice.

For more information about our API support guarantees, see here.

Signature

/** @sealed */
export interface ReadonlyArrayNode<out T = TreeNode | TreeLeafValue> extends ReadonlyArray<T>, Awaited<TreeNode & WithType<string, NodeKind.Array>>

Extends: ReadonlyArray<T>, Awaited<TreeNode & WithType<string, NodeKind.Array>>

Type Parameters

Parameter Default Description
T TreeNode | TreeLeafValue