Export type function
Some checks failed
Analysis / Run Luau Analyze (push) Has been cancelled
Styling / Run Stylua (push) Has been cancelled
Unit Testing / Run Luau Tests (push) Has been cancelled

This commit is contained in:
Ukendio 2024-12-18 20:51:31 +01:00
parent 08ac6a98db
commit 5a6357b8da

View file

@ -1733,7 +1733,7 @@ end
export type Id<T = unknown> = Entity<T>
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<T, U> = _Pair<T, U>
type Item<T...> = (self: Query<T...>) -> (Entity, T...)
export type Entity<T = nil> = number & { __T: T }