Skip to content

Commit

Permalink
Merge conflict fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Apr 5, 2024
1 parent 5735fea commit 20085d8
Showing 1 changed file with 0 additions and 58 deletions.
58 changes: 0 additions & 58 deletions packages/bun-types/overrides.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,64 +120,6 @@ declare module "util" {
| "reset"
| "strikethrough"
| "underline";
=======
declare module 'util' {
// https://nodejs.org/docs/latest/api/util.html#foreground-colors
type ForegroundColors =
| 'black'
| 'blackBright'
| 'blue'
| 'blueBright'
| 'cyan'
| 'cyanBright'
| 'gray'
| 'green'
| 'greenBright'
| 'grey'
| 'magenta'
| 'magentaBright'
| 'red'
| 'redBright'
| 'white'
| 'whiteBright'
| 'yellow'
| 'yellowBright';

// https://nodejs.org/docs/latest/api/util.html#background-colors
type BackgroundColors =
| 'bgBlack'
| 'bgBlackBright'
| 'bgBlue'
| 'bgBlueBright'
| 'bgCyan'
| 'bgCyanBright'
| 'bgGray'
| 'bgGreen'
| 'bgGreenBright'
| 'bgGrey'
| 'bgMagenta'
| 'bgMagentaBright'
| 'bgRed'
| 'bgRedBright'
| 'bgWhite'
| 'bgWhiteBright'
| 'bgYellow'
| 'bgYellowBright';

// https://nodejs.org/docs/latest/api/util.html#modifiers
type Modifiers =
| 'blink'
| 'bold'
| 'dim'
| 'doubleunderline'
| 'framed'
| 'hidden'
| 'inverse'
| 'italic'
| 'overlined'
| 'reset'
| 'strikethrough'
| 'underline';

function styleText(format: ForegroundColors | BackgroundColors | Modifiers, text: string): string;
}

0 comments on commit 20085d8

Please sign in to comment.