1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

add toLowerCase option to getBrowserName in typing

ref: a990b6b2f6/src/parser.js (L124)
This commit is contained in:
pastak 2020-03-31 18:20:15 +09:00 committed by GitHub
parent a990b6b2f6
commit efa7801204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
index.d.ts vendored
View File

@ -43,10 +43,11 @@ declare namespace Bowser {
/** /**
* Get browser's name * Get browser's name
* @param {Boolean} [toLowerCase] return lower-cased value
* @return {String} Browser's name or an empty string * @return {String} Browser's name or an empty string
*/ */
getBrowserName(): string; getBrowserName(toLowerCase?: boolean): string;
/** /**
* Get browser's version * Get browser's version