diff --git a/jecs.d.ts b/jecs.d.ts index 12ba7a4..a9caeae 100644 --- a/jecs.d.ts +++ b/jecs.d.ts @@ -288,6 +288,9 @@ export function pair_first
(world: World, p: Pair
): Entity
; */ export function pair_second
): Entity; +export function ECS_PAIR_FIRST(pair: Pair): number; +export function ECS_PAIR_SECOND(pair: Pair): number; + type StatefulHook = Entity<(e: Entity, id: Id, data: T) => void> & { readonly __nominal_StatefulHook: unique symbol, }