1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +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 GitHub
parent 33d6f9a37d
commit 0deba6685e

7
index.d.ts vendored
View File

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