Skip to content

Commit

Permalink
Update @returns of Parser.prototype.parse
Browse files Browse the repository at this point in the history
  • Loading branch information
dingyongliang committed Jul 14, 2020
1 parent d1a6532 commit 1bde6c6
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 1bde6c6

Please sign in to comment.