Skip to content

Commit

Permalink
fix: swap print overload order
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Jun 19, 2020
1 parent 741318f commit f2f33a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kleur.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ declare module 'kleur' {
}

declare module 'kleur/colors' {
function print(input: null): null;
function print(input: undefined): undefined;
function print(input: string | boolean | number): string;
function print(input: void): void;
function print(input: undefined | void): undefined;
function print(input: null): null;
type Colorize = typeof print;

namespace kleur {
Expand Down

0 comments on commit f2f33a8

Please sign in to comment.