From 0a9d93d0e90cdd58331c1e2b7ef09d91222044bf Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Fri, 13 May 2022 16:22:08 -0700 Subject: [PATCH] fix(stdlib)!: Add explicit void return type on Map.forEach --- stdlib/map.gr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/map.gr b/stdlib/map.gr index 5ac35b0077..4ba6180707 100644 --- a/stdlib/map.gr +++ b/stdlib/map.gr @@ -223,7 +223,7 @@ let rec forEachBucket = (fn, node) => { match (node) { None => void, Some({ key, value, next }) => { - fn(key, value) + fn(key, value): Void forEachBucket(fn, next) }, }