← Back
// Minimal ambient declaration for the `qrcode` package (no @types shipped).
// We only use toDataURL to render the deposit address as an <img>.
declare module 'qrcode' {
  export function toDataURL(
    text: string,
    options?: { margin?: number; width?: number; color?: { dark?: string; light?: string } },
  ): Promise<string>;
  const _default: { toDataURL: typeof toDataURL };
  export default _default;
}

📜 Git History

6c47fa4chore: local Polikopi project home + Phase 1 redesign artifacts12 days ago
Show last diff
Loading...