1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Add missing typescript property declaration

The method getEngineName exists both in the project and the official docs. It's just missing in the typescript declaration file.
This commit is contained in:
Ricard Fredin 2020-08-28 22:02:26 +02:00 committed by Denis Demchenko
parent 53d54e248c
commit 5b11ac25ca

7
index.d.ts vendored
View File

@ -105,6 +105,13 @@ declare namespace Bowser {
getEngine(): EngineDetails; getEngine(): EngineDetails;
/**
* Get parsed engine's name
* @returns {String} Engine's name or an empty string
*/
getEngineName(): string;
/** /**
* Get parsed result * Get parsed result
* @return {ParsedResult} * @return {ParsedResult}