From efa78012048a3d0f8b12c03ee55cbcad30335112 Mon Sep 17 00:00:00 2001 From: pastak Date: Tue, 31 Mar 2020 18:20:15 +0900 Subject: [PATCH] add toLowerCase option to getBrowserName in typing ref: https://github.com/lancedikson/bowser/blob/a990b6b2f63b8eb8dc686c6f5f0c8d71e66e9ae0/src/parser.js#L124 --- index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 58b2ce5..8e25653 100644 --- a/index.d.ts +++ b/index.d.ts @@ -43,10 +43,11 @@ declare namespace Bowser { /** * Get browser's name + * @param {Boolean} [toLowerCase] return lower-cased value * @return {String} Browser's name or an empty string */ - getBrowserName(): string; + getBrowserName(toLowerCase?: boolean): string; /** * Get browser's version