Revert "Merge pull request #382 from DarkPurple141/types-update"

This reverts commit 406e39d2fe, reversing
changes made to d238da4906.
pull/438/head
Denis Demchenko 4 years ago
parent 16843fd15f
commit 24d1ce5e2c

8
index.d.ts vendored

@ -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;

@ -74,10 +74,4 @@ class Bowser {
}
}
export {
BROWSER_MAP,
ENGINE_MAP,
OS_MAP,
PLATFORMS_MAP,
} from './constants.js';
export default Bowser;

Loading…
Cancel
Save