From 1fdd590f4a33836f7402f98cb9687ba51416b654 Mon Sep 17 00:00:00 2001 From: daimond113 Date: Sun, 8 Jun 2025 18:19:52 +0200 Subject: [PATCH] Add ECS_PAIR_* functions to typings --- jecs.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jecs.d.ts b/jecs.d.ts index 4ffb93b..6d70f50 100644 --- a/jecs.d.ts +++ b/jecs.d.ts @@ -289,6 +289,9 @@ export function pair_first(world: World, p: Pair): Entity

; */ export function pair_second(world: World, p: Pair): Entity; +export function ECS_PAIR_FIRST(pair: Pair): Entity

; +export function ECS_PAIR_SECOND(pair: Pair): Entity; + type StatefulHook = Entity<(e: Entity, id: Id, data: T) => void> & { readonly __nominal_StatefulHook: unique symbol, }