Update @returns of Parser.prototype.parse

pull/427/head
dingyongliang 4 years ago
parent d1a6532d82
commit 1bde6c6c7e

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