src/vs/platform/userDataSync/common/extensionsMerge.ts/massageIncomingExtension
function massageIncomingExtension<T extends ISyncExtension>(extension: T): T {
	return { ...extension, ...{ disabled: !!extension.disabled, installed: !!extension.installed } };
}