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 authored and lancedikson committed Sep 12, 2020
1 parent 53d54e2 commit 5b11ac2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.d.ts
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 5b11ac2

Please sign in to comment.