mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Merge pull request #409 from pastak/master
add toLowerCase option to getBrowserName in typing
This commit is contained in:
commit
8fe4b98a56
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