diff --git a/packages/behavior/src/builders.js b/packages/behavior/src/builders.js index 8e4e1d0..c5e470b 100644 --- a/packages/behavior/src/builders.js +++ b/packages/behavior/src/builders.js @@ -1,11 +1,12 @@ export function buildValue(value) { if ( 'object' === typeof value - && ( - 'expression' === value.type - || 'expressions' === value.type - || 'condition' === value.type - ) + && -1 !== [ + 'condition', + 'expression', + 'expressions', + 'literal', + ].indexOf(value.type) ) { return value; }