mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
11 lines
406 B
TypeScript
11 lines
406 B
TypeScript
// Type definitions for opn 1.0.0
|
|
// Project: https://github.com/sindresorhus/opn
|
|
// Definitions by: Shinnosuke Watanabe <https://github.com/shinnn>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
declare module 'opn' {
|
|
function opn(target: string, callback?: (err: Error) => void): void;
|
|
function opn(target: string, app: string, callback?: (err: Error) => void): void;
|
|
export = opn;
|
|
}
|