diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-18 15:47:42 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-18 15:47:42 +0200 |
commit | 6bbae67ac102e6ec3867028920faaa4e3275eb61 (patch) | |
tree | cd6cbd63bcf810947fb207fcad6bb16570758a0b | |
parent | 807fb9c9e7de1cb4d15b5e3ddd26ff9fb2b0895b (diff) | |
download | plantagenet-6bbae67ac102e6ec3867028920faaa4e3275eb61.tar.gz |
Fix type signature for map_for_each.
-rw-r--r-- | rules.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12121,7 +12121,7 @@ function map_delete(map, item) { } } -function map_for_each<K,V>(map: MyMap<K,V>, f: (K,V)=>void) { +function map_for_each<K,V>(map: MyMap<K,V>, f: (_:K,_:V)=>void) { for (let i = 0; i < map.length; i += 2) f(map[i] as K, map[i+1] as V) } |