提交 6821292b 编写于 作者: D Daniel Imms

Fix ts 4.1 issues in terminal api tests

上级 d55efd80
......@@ -349,7 +349,7 @@ import { doesNotThrow, equal, ok, deepEqual, throws } from 'assert';
term1Write.fire('write1');
// Wait until the data is written
await new Promise(resolve => { resolveOnceDataWritten = resolve; });
await new Promise<void>(resolve => { resolveOnceDataWritten = resolve; });
term1Close.fire();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册