UNPKG

semantic-heading-hierarchy

Version:

A JavaScript library that automatically invisibly corrects improper heading hierarchies for better accessibility. Used for user or admin edited content where the developer doesn't have 100% direct control over the content.

13 lines 425 B
import { SemanticHeadingHierarchyInterface } from './types.js'; export type { FixOptions } from './types.js'; /** * Semantic Heading Hierarchy API */ export declare const SemanticHeadingHierarchy: SemanticHeadingHierarchyInterface; export default SemanticHeadingHierarchy; declare global { interface Window { SemanticHeadingHierarchy: typeof SemanticHeadingHierarchy; } } //# sourceMappingURL=index.d.ts.map