diff --git a/types/custom-functions-runtime/custom-functions-runtime-tests.ts b/types/custom-functions-runtime/custom-functions-runtime-tests.ts index 0cdec4960a..4882c6bcd2 100644 --- a/types/custom-functions-runtime/custom-functions-runtime-tests.ts +++ b/types/custom-functions-runtime/custom-functions-runtime-tests.ts @@ -2,8 +2,8 @@ function ADD10(n: number) { return n + 10; } -const CustomFunctionMappings: { - "addTen": ADD10(); +CustomFunctionMappings = { + "addTen": ADD10 }; async function getStockValues(ticker: string, handler: CustomFunctions.StreamingHandler) { @@ -30,4 +30,3 @@ async function getStockValuesNowWithNoCancelling(ticker: string) { } declare function pause(ms: number): Promise -n \ No newline at end of file