replace void 0 with undefined

This commit is contained in:
Rob Lourens
2018-12-28 13:15:41 -08:00
parent 0d11396538
commit ef2547d547
413 changed files with 1515 additions and 1515 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ export function getIdAndVersion(id: string): [string, string | undefined] {
if (matches && matches[1]) {
return [adoptToGalleryExtensionId(matches[1]), matches[2]];
}
return [adoptToGalleryExtensionId(id), void 0];
return [adoptToGalleryExtensionId(id), undefined];
}