license import generate from 'babel-generator' ; import { GeneratorResult } from 'babel-generator' ; import { Node } from 'babel-types' ; /**
 * Convenience wrapper for generating source text from the babel AST node.
 */ export function serialize ( root ) { return generate ( root , { quotes : 'single' } ) ; }