From ef65c00a42bde89affd57947e2350adaace69aae Mon Sep 17 00:00:00 2001 From: shaofengzhu Date: Fri, 14 Dec 2018 16:16:38 -0800 Subject: [PATCH] Update types/custom-functions-runtime/custom-functions-runtime-tests.ts Co-Authored-By: mscharlock --- .../custom-functions-runtime/custom-functions-runtime-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/custom-functions-runtime/custom-functions-runtime-tests.ts b/types/custom-functions-runtime/custom-functions-runtime-tests.ts index 2a2a837236..304081e408 100644 --- a/types/custom-functions-runtime/custom-functions-runtime-tests.ts +++ b/types/custom-functions-runtime/custom-functions-runtime-tests.ts @@ -3,7 +3,7 @@ function add10(n: number) { return n + 10; } -CustomFunctions.Associate('ADD10', add10); +CustomFunctions.associate('ADD10', add10); async function getStockValues(ticker: string): Promise { const response = await fetch(`myService.com/prices/${ticker}`);