forked from quic-issues/427e7578-d7bf-49c8-aee9-2dd999e25316
19 lines
809 B
TypeScript
19 lines
809 B
TypeScript
export const isNode: boolean;
|
|
export const isBrowser: boolean;
|
|
export const isMac: boolean;
|
|
export function hasParam(name: string): boolean;
|
|
export function getParam(name: string, defaultVal: string): string;
|
|
export function getVariable(name: string): string | null;
|
|
export function getConf(name: string): string | null;
|
|
export function ensureConf(name: string): string;
|
|
export function hasConf(name: string): boolean;
|
|
export const production: boolean;
|
|
/**
|
|
* Color is enabled by default if the terminal supports it.
|
|
*
|
|
* Explicitly enable color using `--color` parameter
|
|
* Disable color using `--no-color` parameter or using `NO_COLOR=1` environment variable.
|
|
* `FORCE_COLOR=1` enables color and takes precedence over all.
|
|
*/
|
|
export const supportsColor: boolean;
|
|
//# sourceMappingURL=environment.d.ts.map
|