Fix type error when not specifying scope destroy delay

This commit is contained in:
centauri 2025-11-26 12:38:39 +00:00
parent d7d2f5167e
commit f370e3f841
4 changed files with 5 additions and 5 deletions

View file

@ -9,8 +9,8 @@ type Source<T> = () -> T
local function show<T, Obj>(
input: Source<T?>,
component: (Source<T>, Source<boolean>) -> (Obj, number?),
fallback: ((Source<boolean>) -> (Obj, number?))?
component: (Source<T>, Source<boolean>) -> (Obj, ...number),
fallback: ((Source<boolean>) -> (Obj, ...number))?
): Source<nil | Obj | Array<Obj>>
local filtered_input = source()