src/vs/workbench/services/preferences/common/preferencesValidation.ts/canBeType
function canBeType(propTypes: (string | undefined)[], ...types: JSONSchemaType[]): boolean {
	return types.some(t => propTypes.includes(t));
}