mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Remove ? modifier from map value type
This commit is contained in:
parent
c4a0180a2f
commit
cd885ba22c
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ local close_scope = graph.close_scope
|
||||||
|
|
||||||
type Map<K, V> = { [K]: V }
|
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()
|
local owner = get_owning_scope()
|
||||||
|
|
||||||
return function(map)
|
return function(map)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue