From 0deba6685e6085537345348d70de6aeecda3c7cc Mon Sep 17 00:00:00 2001 From: Ricard Fredin Date: Fri, 28 Aug 2020 22:02:26 +0200 Subject: [PATCH] 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. --- index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.d.ts b/index.d.ts index 8e25653..dd9e27f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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}