1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Update @returns of Parser.prototype.parse

This commit is contained in:
dingyongliang 2020-07-14 15:04:07 +08:00
parent d1a6532d82
commit 1bde6c6c7e
2 changed files with 3 additions and 1 deletions

3
index.d.ts vendored
View File

@ -130,9 +130,10 @@ declare namespace Bowser {
/** /**
* Parse full information about the browser * Parse full information about the browser
* @returns {Parser.Parser}
*/ */
parse(): void; parse(): Parser.Parser;
/** /**
* Get parsed browser object * Get parsed browser object

View File

@ -313,6 +313,7 @@ class Parser {
/** /**
* Parse full information about the browser * Parse full information about the browser
* @returns {Parser}
*/ */
parse() { parse() {
this.parseBrowser(); this.parseBrowser();