import { BaseClosure , } from '../../Closure' ; import { Messages } from '../../Message' ; import { Interpreter } from '../../../interpreter/main' ; import { JSXSpreadAttribute } from 'estree-jsx' ; export function JSXSpreadAttributeHandler ( this , node ) { return this . createClosure ( { type : 'ObjectExpression' , properties : [ { type : 'SpreadElement' , argument : node . argument , } ] } ) ; }