import { ExportNamedDeclaration , Node } from 'estree' ; export default function isExportNamedDeclaration ( data ) { return data !== null && data !== undefined && ( data . type === 'ExportAllDeclaration' || ( data . type === 'ExportNamedDeclaration' && data . source !== null ) ) ; }