DefinitelyTyped/types/openurl2/index.d.ts
Felix Hao 2e2227cdde Add package: openurl & openurl2 (#40065)
* add package: openurl & openurl2

* fix lint
2019-11-05 11:18:42 -08:00

10 lines
468 B
TypeScript

// Type definitions for openurl2 1.0
// Project: https://github.com/rauschma/openurl
// Definitions by: Felix Hao <https://github.com/felixhao28>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
export function open(url: string, callback?: (err: Error) => void): void;
export function mailto(recipients: string[], fields: {[key: string]: string}, recipientsSeparator?: string, callback?: (err: Error) => void): void;