瀏覽代碼

Fixes lint error

main
Eric Amodio 3 年之前
父節點
當前提交
b6352078ec
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/system/decorators/timeout.ts

+ 1
- 1
src/system/decorators/timeout.ts 查看文件

@ -49,7 +49,7 @@ export function timeout(timeoutOrTimeoutFromLastArg: number | boolean, defaultTi
const id = setTimeout(() => {
clearTimeout(id);
reject(new CancellationError(result, `Timed out after ${timeout} ms`));
}, timeout!);
}, timeout);
}),
]);
};

Loading…
取消
儲存