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

Merge pull request #427 from YongliangDing/declaration-update

Update @returns of Parser.prototype.parse
This commit is contained in:
Denis Demchenko 2020-09-12 10:35:50 +03:00 committed by GitHub
commit c504b110bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();