2021-03-01 15:06:11 +08:00

13 lines
433 B
TypeScript

/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file at
* https://github.com/facebook/create-react-app/blob/master/LICENSE
*/
/**
* Reads the BROWSER environment variable and decides what to do with it. Returns
* true if it opened a browser or ran a node.js script, otherwise false.
*/
export declare function openBrowser(url: string): boolean;