mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
update to json so it's not broken
This commit is contained in:
@@ -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<number>) {
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json"
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"semicolon": false,
|
||||
"semicolon": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user