Upgrade TypeScript to the latest version, v4.1.3
This commit is contained in:
parent
38ab92da5d
commit
dd0ea6b3fe
10 changed files with 94 additions and 88 deletions
|
@ -108,7 +108,7 @@ export async function downloadUpdate(
|
|||
const downloadStream = stream(updateFileUrl, getGotOptions());
|
||||
const writeStream = createWriteStream(targetUpdatePath);
|
||||
|
||||
await new Promise((resolve, reject) => {
|
||||
await new Promise<void>((resolve, reject) => {
|
||||
downloadStream.on('error', error => {
|
||||
reject(error);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue