From 9287acede59a400899cad8ee613adf8b4964eb31 Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Wed, 7 Aug 2024 16:25:05 -0300 Subject: [PATCH] typings: add util.styleText type definition --- typings/internalBinding/util.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/internalBinding/util.d.ts b/typings/internalBinding/util.d.ts index 9963d07d7f87c2..34b4b31c1d8abd 100644 --- a/typings/internalBinding/util.d.ts +++ b/typings/internalBinding/util.d.ts @@ -44,4 +44,5 @@ export interface UtilBinding { WeakReference: typeof InternalUtilBinding.WeakReference; guessHandleType(fd: number): 'TCP' | 'TTY' | 'UDP' | 'FILE' | 'PIPE' | 'UNKNOWN'; parseEnv(content: string): Record; + styleText(format: Array | string, text: string): string; }