Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
intellectus-rojiwon authored Oct 9, 2024
1 parent 7485b5b commit 6b19553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export interface ColorizeOptions {
/**
* An object containing the colors for the log levels. For example: `{ info: 'blue', error: 'red' }`.
*/
colors?: Record<string, string>;
colors?: Record<string, string | string[]>;
}

export interface JsonOptions {
Expand Down Expand Up @@ -111,7 +111,7 @@ export interface JsonOptions {
deterministic?: boolean,
/**
* Maximum number of entries to serialize per object (at least one).
* The serialized output contains information about how munknown entries have not been serialized.
* The serialized output contains information about how many entries have not been serialized.
* Ignored properties are counted as well (e.g., properties with symbol values).
* Using the array replacer overrules this option.
* @default Infinity
Expand Down

0 comments on commit 6b19553

Please sign in to comment.