format-bytes.d.ts 286 B

123456789101112
  1. import { LitElement } from 'lit';
  2. export default class SlFormatBytes extends LitElement {
  3. value: number;
  4. unit: 'bytes' | 'bits';
  5. locale: string;
  6. render(): string;
  7. }
  8. declare global {
  9. interface HTMLElementTagNameMap {
  10. 'sl-format-bytes': SlFormatBytes;
  11. }
  12. }