Skip to content

Commit

Permalink
Resolve TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
holzmaster committed Jan 23, 2025
1 parent 80e78f4 commit 3c9b829
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/utils/terminal.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import { styleText } from "node:util";

// TODO: Remove when node typings are updated (this would be around Node.js 22)
declare module "node:util" {
function styleText(style: string, text: string): string;
}

export function highlight(s: string): string {
return styleText("bgCyan", styleText("whiteBright", s));
}
Expand Down

0 comments on commit 3c9b829

Please sign in to comment.