import * as ts from 'typescript' ; import { getJsxAttributesFromJsxElement } from '../JsxAttribute' ; const hrefString = 'href' ; Returns function getImplicitRoleForArea ( node ) { return getJsxAttributesFromJsxElement ( node ) [ hrefString ] ? 'link' : undefined ; } export { getImplicitRoleForArea as area } ;