mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Use resolve(void 0) instead of resolve(null) for void promises
Fixes a common type error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user