From 5b11ac25ca6d33106c9c095141c47c959ac9741e 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 17398d3..d95656a 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}