⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
nodejs
/
@types
/
supports-color
/
Edit File: index.d.ts
// Type definitions for supports-color 8.1 // Project: https://github.com/chalk/supports-color // Definitions by: Melvin Groenhoff <https://github.com/mgroenhoff> // Matt Traynham <https://github.com/mtraynham> // Piotr Błażejewicz <https://github.com/peterblazejewicz> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export namespace supportsColor { interface Level { level: number; hasBasic: boolean; has256: boolean; has16m: boolean; } interface Options { /** * By default it is `true`, which instructs `supportsColor()` to sniff `process.argv` * for the multitude of `--color` flags (see _Info_ below). * If `false`, then `process.argv` is not considered when determining color support. * @default true */ sniffFlags?: boolean | undefined; isTTY?: boolean | undefined; } type SupportsColor = false | Level; } export function supportsColor( stream: { isTTY?: boolean | undefined; }, options?: supportsColor.Options, ): supportsColor.SupportsColor; export const stdout: supportsColor.SupportsColor; export const stderr: supportsColor.SupportsColor;
Simpan