Skip to content

Commit

Permalink
typings: add util.styleText type definition
Browse files Browse the repository at this point in the history
PR-URL: #54252
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
  • Loading branch information
RafaelGSS authored and targos committed Aug 14, 2024
1 parent 971b9f3 commit a476837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typings/internalBinding/util.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit a476837

Please sign in to comment.