ECS Framework API / ComponentType
Type Alias: ComponentType()<T>
ComponentType<
T
> = (...args
) =>T
Defined in: Types/index.ts:62
组件类型定义
用于类型安全的组件操作 支持任意构造函数签名,提供更好的类型安全性
Type Parameters
T
T
extends IComponent
= IComponent
Parameters
args
...any
[]
Returns
T