UNPKG

ranui

Version:

A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.

7 lines (6 loc) 330 B
/** * `MediaError.code` → human-readable text. `MediaError` itself has no message * worth surfacing for most codes (browsers leave it empty), so this maps the * spec's four error codes directly instead of trusting `error.message`. */ export declare function describeMediaError(error: MediaError | null | undefined): string;