Remove ? modifier from map value type

This commit is contained in:
Richard 2023-09-18 15:17:10 -07:00
parent c4a0180a2f
commit cd885ba22c

View file

@ -15,7 +15,7 @@ local close_scope = graph.close_scope
type Map<K, V> = { [K]: V }
local function switch<T, U>(source: () -> T): (map: Map<T, ((() -> U)?)>) -> () -> U?
local function switch<T, U>(source: () -> T): (map: Map<T, () -> U>) -> () -> U?
local owner = get_owning_scope()
return function(map)