Upgrade TypeScript to the latest version, v4.1.3

This commit is contained in:
Evan Hahn 2020-12-18 11:09:31 -06:00 committed by Scott Nonnenberg
parent 38ab92da5d
commit dd0ea6b3fe
10 changed files with 94 additions and 88 deletions

View file

@ -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);
});