Skip to content

Commit

Permalink
Merge pull request #427 from YongliangDing/declaration-update
Browse files Browse the repository at this point in the history
Update @returns of Parser.prototype.parse
  • Loading branch information
lancedikson authored Sep 12, 2020
2 parents 24dab5f + 1bde6c6 commit c504b11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,10 @@ declare namespace Bowser {

/**
* Parse full information about the browser
* @returns {Parser.Parser}
*/

parse(): void;
parse(): Parser.Parser;

/**
* Get parsed browser object
Expand Down
1 change: 1 addition & 0 deletions src/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ class Parser {

/**
* Parse full information about the browser
* @returns {Parser}
*/
parse() {
this.parseBrowser();
Expand Down

0 comments on commit c504b11

Please sign in to comment.