From 2aadc41e6b64ea694bc38402df0f99ffb5448137 Mon Sep 17 00:00:00 2001 From: daimond113 Date: Mon, 9 Jun 2025 16:24:29 +0200 Subject: [PATCH] Return simple numbers --- jecs.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jecs.d.ts b/jecs.d.ts index 6d70f50..179a4b0 100644 --- a/jecs.d.ts +++ b/jecs.d.ts @@ -289,8 +289,8 @@ 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; +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,