UNPKG

@markuplint/ml-spec

Version:

Types and schema that specs of the Markup languages for markuplint

7 lines (6 loc) 255 B
import { getSpecByTagName } from '../specs/get-spec-by-tag-name.js'; export function getSpec( // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types el, specs) { return getSpecByTagName(specs, el.localName, el.namespaceURI); }