UNPKG

@markuplint/ml-spec

Version:

Types and schema that specs of the Markup languages for markuplint

13 lines (12 loc) 446 B
import type { ARIAVersion, MLMLSpec } from '../types/index.js'; type ARIAProps = Record<string, ARIAProp>; type ARIAProp = { name: string; value: string | undefined; required: boolean; deprecated: boolean; from: ARIAPropReferenceType; }; type ARIAPropReferenceType = 'default' | 'html-attr' | 'aria-attr'; export declare function getComputedAriaProps(specs: MLMLSpec, el: Element, version: ARIAVersion): ARIAProps; export {};