import * as ts from 'typescript' ; import { getAncestorNode } from '../JsxAttribute' ; Returns function getImplicitRoleForFooter ( node ) { return getAncestorNode ( node , 'article' ) || getAncestorNode ( node , 'section' ) ? undefined : 'contentinfo' ; } export { getImplicitRoleForFooter as footer } ;