Skip to content

Commit

Permalink
Add missing typescript property declaration
Browse files Browse the repository at this point in the history
The method getEngineName exists both in the project and the official docs. It's just missing in the typescript declaration file.
  • Loading branch information
Cordazar committed Aug 28, 2020
1 parent 33d6f9a commit 0deba66
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ declare namespace Bowser {

getEngine(): EngineDetails;

/**
* Get parsed engine's name
* @returns {String} Engine's name or an empty string
*/

getEngineName(): string;

/**
* Get parsed result
* @return {ParsedResult}
Expand Down

0 comments on commit 0deba66

Please sign in to comment.