From 24d1ce5e2c7c2963ec66e0d1f1e8e590728da295 Mon Sep 17 00:00:00 2001
From: Denis Demchenko
Date: Thu, 26 Dec 2019 23:26:36 +0200
Subject: [PATCH] Revert "Merge pull request #382 from
DarkPurple141/types-update"
This reverts commit 406e39d2feaec2ae110e5189659f4c23976b08dc, reversing
changes made to d238da4906e14df936353dc01c769d846da586e4.
---
index.d.ts | 8 --------
src/bowser.js | 6 ------
2 files changed, 14 deletions(-)
diff --git a/index.d.ts b/index.d.ts
index 4ef73450..46c22309 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -22,14 +22,6 @@ declare namespace Bowser {
function parse(UA: string): Parser.ParsedResult;
- /**
- * Constants exposed via bowser getters
- */
- const BROWSER_MAP: Record;
- const ENGINE_MAP: Record;
- const OS_MAP: Record;
- const PLATFORMS_MAP: Record;
-
namespace Parser {
interface Parser {
constructor(UA: string, skipParsing?: boolean): Parser.Parser;
diff --git a/src/bowser.js b/src/bowser.js
index 9b1449e4..f79e6e0e 100644
--- a/src/bowser.js
+++ b/src/bowser.js
@@ -74,10 +74,4 @@ class Bowser {
}
}
-export {
- BROWSER_MAP,
- ENGINE_MAP,
- OS_MAP,
- PLATFORMS_MAP,
-} from './constants.js';
export default Bowser;