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:
commit
c504b110bb
3
index.d.ts
vendored
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…
Reference in New Issue
Block a user