Skip to content

Commit

Permalink
Revert "Merge pull request #382 from DarkPurple141/types-update"
Browse files Browse the repository at this point in the history
This reverts commit 406e39d, reversing
changes made to d238da4.
  • Loading branch information
lancedikson committed Dec 26, 2019
1 parent 16843fd commit 24d1ce5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
8 changes: 0 additions & 8 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ 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
6 changes: 0 additions & 6 deletions src/bowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,4 @@ class Bowser {
}
}

export {
BROWSER_MAP,
ENGINE_MAP,
OS_MAP,
PLATFORMS_MAP,
} from './constants.js';
export default Bowser;

0 comments on commit 24d1ce5

Please sign in to comment.