tslint-microsoft-contrib
Version:
TSLint Rules for Microsoft
9 lines • 369 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var JsxAttribute_1 = require("../JsxAttribute");
var hrefString = 'href';
function getImplicitRoleForArea(node) {
return JsxAttribute_1.getJsxAttributesFromJsxElement(node)[hrefString] ? 'link' : undefined;
}
exports.area = getImplicitRoleForArea;
//# sourceMappingURL=area.js.map