mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
295 B
TypeScript
10 lines
295 B
TypeScript
/**
|
|
* Attempts to open the browser with a given URL.
|
|
*
|
|
* On Mac OS X, attempts to reuse an existing Chrome tab via AppleScript.
|
|
*
|
|
* Otherwise, falls back to [open](https://github.com/sindresorhus/open) behavior.
|
|
*/
|
|
declare function openBrowser(url: string): boolean;
|
|
export = openBrowser;
|