@adobe/ecs - v0.2.1
Preparing search index...
@adobe/ecs
Component
With
Type Alias With<T, V>
With
:
{
[
K
in
Component
.
Key
]
:
Components
[
K
]
extends
{
readonly
[
P
in
T
]
:
V
}
?
K
:
never
}
[
Component
.
Key
]
Components that declare trait
T
, with a value assignable to
V
.
Type Parameters
T
extends
TraitKey
V
=
unknown
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@adobe/ecs - v0.2.1
Loading...
Components that declare trait
T, with a value assignable toV.