Skip to content

Commit

Permalink
Merge pull request #388 from DarkPurple141/types-update
Browse files Browse the repository at this point in the history
fix: only include types
  • Loading branch information
lancedikson committed Jan 28, 2020
2 parents bdc8355 + 7ebcbd7 commit a8aa331
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ declare namespace Bowser {

function parse(UA: string): Parser.ParsedResult;

/**
* Constants exposed via bowser getters
*/
const BROWSER_MAP: Record<string, string>;
const ENGINE_MAP: Record<string, string>;
const OS_MAP: Record<string, string>;
const PLATFORMS_MAP: Record<string, string>;

namespace Parser {
interface Parser {
constructor(UA: string, skipParsing?: boolean): Parser.Parser;
Expand Down

0 comments on commit a8aa331

Please sign in to comment.