1
0
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:
Denis Demchenko 2020-06-01 23:33:00 +03:00 committed by GitHub
commit 8fe4b98a56
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