Remove Enumeration type
Summary: Enumeration used to be a type containing a single property value of type string. The InspectableEnum is a type that had an Enumeration value and possible values. As we removed possible values from the enum value, this structure no longer serves its purpose. Reviewed By: antonk52 Differential Revision: D41400874 fbshipit-source-id: e5c2d1e15ee9b3074ddd69f75ee9b8150d44379f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5e200dd7ec
commit
5b3e110821
@@ -22,10 +22,9 @@ function transformAny(
|
||||
case 'bounds':
|
||||
case 'coordinate':
|
||||
case 'coordinate3d':
|
||||
case 'enum':
|
||||
case 'space':
|
||||
return inspectable.value;
|
||||
case 'enum':
|
||||
return inspectable.value.value;
|
||||
case 'object':
|
||||
return transformObject(metadata, inspectable);
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user