We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80e78f4 commit 3c9b829Copy full SHA for 3c9b829
src/utils/terminal.ts
@@ -1,10 +1,5 @@
1
import { styleText } from "node:util";
2
3
-// TODO: Remove when node typings are updated (this would be around Node.js 22)
4
-declare module "node:util" {
5
- function styleText(style: string, text: string): string;
6
-}
7
-
8
export function highlight(s: string): string {
9
return styleText("bgCyan", styleText("whiteBright", s));
10
}
0 commit comments