Skip to content

Commit 5e3e69b

Browse files
TheAlexLichterpi0
authored andcommittedJan 6, 2019
fix(types): add some of the missing types (#35)
1 parent e534a28 commit 5e3e69b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

Diff for: ‎types/consola.d.ts

+10
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ declare class Consola {
1111
static trace (message: string): void;
1212
static addReporter (reporter: (message: string) => void): (typeof Consola);
1313
static removeReporter (): (typeof Consola);
14+
static withTag (tag: string): (typeof Consola);
15+
static withScope (tag: string): (typeof Consola);
16+
static wrapAll (): void;
17+
static restoreAll (): void;
18+
static wrapConsole (): void;
19+
static restoreConsole (): void;
20+
static wrapStd (): void;
21+
static restoreStd (): void;
22+
static pauseLogs (): void;
23+
static resumeLogs (): void;
1424
}
1525

1626
declare module "consola" {

0 commit comments

Comments
 (0)
Please sign in to comment.