|
|
|
@ -6,7 +6,6 @@ export = Bowser;
|
|
|
|
|
export as namespace Bowser;
|
|
|
|
|
|
|
|
|
|
declare namespace Bowser {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Creates a Parser instance
|
|
|
|
|
* @param {string} UA - User agent string
|
|
|
|
@ -22,11 +21,10 @@ declare namespace Bowser {
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
function parse(UA: string): Parser.ParsedResult;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
declare namespace Parser {
|
|
|
|
|
class Parser {
|
|
|
|
|
constructor(UA: string, skipParsing?: boolean);
|
|
|
|
|
namespace Parser {
|
|
|
|
|
interface Parser {
|
|
|
|
|
constructor(UA: string, skipParsing?: boolean): Parser.Parser;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get parsed browser object
|
|
|
|
@ -221,4 +219,5 @@ declare namespace Parser {
|
|
|
|
|
interface checkTree {
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|