Constnium/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts

13 lines
359 B
TypeScript
Raw Normal View History

2022-06-23 02:27:43 +02:00
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;