From 469432a2089e6485a28459f54e0257ab49e101b3 Mon Sep 17 00:00:00 2001 From: Chris Youngs Date: Thu, 27 Feb 2020 15:53:19 -0800 Subject: [PATCH] Changed declaration on newest functions --- extension.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extension.ts b/extension.ts index ae31ab2..55a5e5e 100644 --- a/extension.ts +++ b/extension.ts @@ -266,7 +266,7 @@ namespace hourOfCode { */ //% block="agent place acacia %dir" //% weight = 98 - export function agentPlaceAcacia(dir: SixDirection): void { + export function agentPlaceAcacia(dir: SixDirection) { let MIN_SLOT = 1 let MAX_SLOT = 27 let randomSlot = Math.randomRange(MIN_SLOT, MAX_SLOT) @@ -280,7 +280,7 @@ namespace hourOfCode { */ //% block="agent plant carrots" //% weight = 99 - export function agentPlantCarrots(): void { + export function agentPlantCarrots() { let MIN_SLOT = 1 let MAX_SLOT = 27 let randomSlot = Math.randomRange(MIN_SLOT, MAX_SLOT)