webhook/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts
2020-08-26 09:57:08 +10:00

12 lines
371 B
TypeScript

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;