mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
typings: add util.styleText type definition
PR-URL: https://github.com/nodejs/node/pull/54252 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This commit is contained in:
1 parent
4c219b0235
commit
628ae4bde5
1 file changed
+1
Vendored
+1
@@ -44,4 +44,5 @@ export interface UtilBinding {
|
||||
WeakReference: typeof InternalUtilBinding.WeakReference;
|
||||
guessHandleType(fd: number): 'TCP' | 'TTY' | 'UDP' | 'FILE' | 'PIPE' | 'UNKNOWN';
|
||||
parseEnv(content: string): Record<string, string>;
|
||||
styleText(format: Array<string> | string, text: string): string;
|
||||
}
|
||||
Reference in new issue
Block a user