diff --git a/types/custom-functions-runtime/custom-functions-runtime-tests.ts b/types/custom-functions-runtime/custom-functions-runtime-tests.ts index 4882c6bcd2..0186416e95 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; } -CustomFunctionMappings = { - "addTen": ADD10 +CustomFunctionMappings = { + addTen: ADD10 }; async function getStockValues(ticker: string, handler: CustomFunctions.StreamingHandler) { @@ -12,7 +12,7 @@ async function getStockValues(ticker: string, handler: CustomFunctions.Streaming } async function getStockValuesOneTime(ticker: string, handler: CustomFunctions.CancelableHandler) { - var shouldStop = false; + let shouldStop = false; handler.onCanceled = () => shouldStop = true; await pause(1000); diff --git a/types/custom-functions-runtime/tslint.json b/types/custom-functions-runtime/tslint.json index 916693cb02..837163b606 100644 --- a/types/custom-functions-runtime/tslint.json +++ b/types/custom-functions-runtime/tslint.json @@ -1,6 +1,6 @@ { - "extends": "dtslint/dt.json" + "extends": "dtslint/dt.json", "rules": { - "semicolon": false, + "semicolon": false } }