Skip to content

Commit

Permalink
Merge pull request #409 from pastak/master
Browse files Browse the repository at this point in the history
add toLowerCase option to getBrowserName in typing
  • Loading branch information
lancedikson authored Jun 1, 2020
2 parents a990b6b + efa7801 commit 8fe4b98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fe4b98

Please sign in to comment.