Skip to content

Commit

Permalink
fix(types): add some of the missing types (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
manniL authored and pi0 committed Jan 6, 2019
1 parent e534a28 commit 5e3e69b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions types/consola.d.ts
Expand Up @@ -11,6 +11,16 @@ declare class Consola {
static trace (message: string): void;
static addReporter (reporter: (message: string) => void): (typeof Consola);
static removeReporter (): (typeof Consola);
static withTag (tag: string): (typeof Consola);
static withScope (tag: string): (typeof Consola);
static wrapAll (): void;
static restoreAll (): void;
static wrapConsole (): void;
static restoreConsole (): void;
static wrapStd (): void;
static restoreStd (): void;
static pauseLogs (): void;
static resumeLogs (): void;
}

declare module "consola" {
Expand Down

0 comments on commit 5e3e69b

Please sign in to comment.