Skip to content

1681-engine / index / ComponentValues

Type Alias: ComponentValues<T> ​

ts
type ComponentValues<T> = { [K in keyof T]: T[K] extends ComponentType<infer V> ? V : never };

Defined in: src/ecs/World.ts:74

Type Parameters ​

Type Parameter
T extends readonly ComponentType<unknown>[]

Released under the MIT License.