Compare commits

...

2 commits

Author SHA1 Message Date
Marcus
d34daab78e
Merge 5a6357b8da into d9be40d2ca 2024-12-18 19:51:53 +00:00
Ukendio
5a6357b8da 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
2024-12-18 20:51:31 +01:00

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 }