From 5a6357b8da76ba8931f0ed5c9e1d139259018c72 Mon Sep 17 00:00:00 2001 From: Ukendio Date: Wed, 18 Dec 2024 20:51:31 +0100 Subject: [PATCH] Export type function --- jecs.luau | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jecs.luau b/jecs.luau index 94402a4..1b59033 100644 --- a/jecs.luau +++ b/jecs.luau @@ -1733,7 +1733,7 @@ end export type Id = Entity -type function _Pair(first, second) +export type function Pair(first, second) local thing = first:components()[2] if thing:readproperty(types.singleton("__T")):is("nil") then @@ -1743,8 +1743,6 @@ type function _Pair(first, second) end end -export type Pair = _Pair - type Item = (self: Query) -> (Entity, T...) export type Entity = number & { __T: T }