From af4cc764aaaf581a5cf17a562f88b585086b13e1 Mon Sep 17 00:00:00 2001 From: Michelle Scharlock Date: Thu, 13 Sep 2018 10:09:02 -0700 Subject: [PATCH] Changing weird spacing --- .../custom-function-mappings-tests.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/custom-function-mapping/custom-function-mappings-tests.ts b/types/custom-function-mapping/custom-function-mappings-tests.ts index 23305c7ac4..98fe35fd9f 100644 --- a/types/custom-function-mapping/custom-function-mappings-tests.ts +++ b/types/custom-function-mapping/custom-function-mappings-tests.ts @@ -1,10 +1,10 @@ async function getStockValues(ticker: string, handler: CustomFunctions.StreamingHandler) { const dollars = await (await fetch(`myService.com/prices/${ticker}`)).json(); - handler.setResult(dollars) + handler.setResult(dollars) } async function getStockValuesOneTime(ticker: string, handler: CustomFunctions.CancelableHandler) { - var shouldStop = false; + var shouldStop = false; handler.onCanceled = () => shouldStop = true; await pause(1000); @@ -17,8 +17,8 @@ async function getStockValuesOneTime(ticker: string, handler: CustomFunctions.Ca } async function getStockValuesNowWithNoCancelling(ticker: string) { - const dollars = await (await fetch(`myService.com/prices/${ticker}`)).json(); - return dollars; + const dollars = await (await fetch(`myService.com/prices/${ticker}`)).json(); + return dollars; } function add10(n: number) {