openBrowser.d.ts 433 B

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