Browse Source

Merge pull request #427 from YongliangDing/declaration-update

Update @returns of Parser.prototype.parse
master
Denis Demchenko 1 year ago
committed by GitHub
parent
commit
c504b110bb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      index.d.ts
  2. 1
      src/parser.js

3
index.d.ts

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

1
src/parser.js

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

Loading…
Cancel
Save