Skip to content

Commit 628ae4b

Browse files
RafaelGSStargos
authored andcommitted
typings: add util.styleText type definition
PR-URL: #54252 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent 4c219b0 commit 628ae4b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎typings/internalBinding/util.d.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ export interface UtilBinding {
4444
WeakReference: typeofInternalUtilBinding.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)