You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
616 B

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/**
* Determines if the `stream` is a TTY.
*
* @param stream A NodeJS stream to check. Defaults to `process.stdout`.
* @returns `true` if the `stream` is a TTY, `false` otherwise. This detection is overridden
* by the `NG_FORCE_TTY` environment variable. In a CI environment, this will also be `false`
* unless `NG_FORCE_TTY` is set.
*/
export declare function isTTY(stream?: NodeJS.WriteStream): boolean;