Merge pull request #427 from YongliangDing/declaration-update

Update @returns of Parser.prototype.parse
pull/452/head
Denis Demchenko 4 years ago committed by GitHub
commit c504b110bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
index.d.ts vendored

@ -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

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

Loading…
Cancel
Save