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 GitHub
parent 33d6f9a37d
commit 0deba6685e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}