Skip to content

Commit

Permalink
fix: add missing typescript declaration for level, stdout and stderr (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldszar authored and Pooya Parsa committed Aug 5, 2019
1 parent 80eefd8 commit a149dbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions types/consola.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ export interface ConsolaOptions {
export declare class Consola {
constructor(options: ConsolaOptions)

level: number
readonly stdout: any
readonly stderr: any

// Built-in log levels
fatal(message: ConsolaLogObject | any, ...args: any[]): void
error(message: ConsolaLogObject | any, ...args: any[]): void
Expand Down

0 comments on commit a149dbb

Please sign in to comment.