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

@ -6,7 +6,7 @@ local timeout = require "./timeout" ()
type Array<T> = { T }
type Map<K, V> = { [K]: V }
type Source<T> = () -> T
type Component<T> = (Source<boolean>) -> (T, number?)
type Component<T> = (Source<boolean>) -> (T, ...number)
local function switch_map<K, Obj>(
input: Source<K>,