Skip to content

Commit 628ae4b

Browse files
RafaelGSStargos
authored andcommitted
typings: add util.styleText type definition
PR-URL: #54252 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
1 parent 4c219b0 commit 628ae4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

typings/internalBinding/util.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ export interface UtilBinding {
4444
WeakReference: typeof InternalUtilBinding.WeakReference;
4545
guessHandleType(fd: number): 'TCP' | 'TTY' | 'UDP' | 'FILE' | 'PIPE' | 'UNKNOWN';
4646
parseEnv(content: string): Record<string, string>;
47+
styleText(format: Array<string> | string, text: string): string;
4748
}

0 commit comments

Comments
 (0)