Use resolve(void 0) instead of resolve(null) for void promises

Fixes a common type error
This commit is contained in:
Matt Bierner
2018-12-13 15:20:46 -08:00
parent 6b89247875
commit 68a4e01246
8 changed files with 11 additions and 11 deletions

View File

@@ -591,7 +591,7 @@ export class ExtHostExtensionService implements ExtHostExtensionServiceShape {
if (error) {
e(error.toString());
} else {
c(null);
c(void 0);
}
// after tests have run, we shutdown the host