mailto.d.ts 359 B

123456789101112
  1. import { URISchemeHandler, URIComponents } from "../uri";
  2. export interface MailtoHeaders {
  3. [hfname: string]: string;
  4. }
  5. export interface MailtoComponents extends URIComponents {
  6. to: Array<string>;
  7. headers?: MailtoHeaders;
  8. subject?: string;
  9. body?: string;
  10. }
  11. declare const handler: URISchemeHandler<MailtoComponents>;
  12. export default handler;