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:
parent
a990b6b2f6
commit
efa7801204
3
index.d.ts
vendored
3
index.d.ts
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user