Skip to content

Commit

Permalink
Update typings with silent() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendo committed Jan 12, 2018
1 parent 6f9bfed commit b561fe3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions typings/promise/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,15 @@ declare namespace simplegit {
* @returns {Promise<TagResult>} Parsed tag list.
*/
tags(options?: string[]): Promise<TagResult>;

/**
* Disables/enables the use of the console for printing warnings and errors, by default messages are not shown in
* a production environment.
*
* @param {boolean} silence
* @returns {Git}
*/
silent(silence?: boolean): simplegit.SimpleGit;
}


Expand Down

0 comments on commit b561fe3

Please sign in to comment.