Blame view

node_modules/uri-js/dist/esnext/schemes/mailto.d.ts 359 Bytes
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
9
10
11
12
  import { URISchemeHandler, URIComponents } from "../uri";
  export interface MailtoHeaders {
      [hfname: string]: string;
  }
  export interface MailtoComponents extends URIComponents {
      to: Array<string>;
      headers?: MailtoHeaders;
      subject?: string;
      body?: string;
  }
  declare const handler: URISchemeHandler<MailtoComponents>;
  export default handler;