UIElement Docs Version 0.13.1

🔗 Type Alias: Context<K, V>

Context<K, V> = K & object

Defined in: src/core/context.ts:22

A context key.

A context key can be any type of object, including strings and symbols. The
Context type brands the key type with the __context__ property that
carries the type of the value the context references.

🔗 Type declaration

🔗 __context__

__context__: V

🔗 Type Parameters

🔗 K

K

🔗 V

V