mirror of
https://github.com/lancedikson/bowser
synced 2025-12-05 06:02:14 +00:00
Remove duplicate method declarations in Parser interface
Co-authored-by: naorpeled <6171622+naorpeled@users.noreply.github.com>
This commit is contained in:
parent
759ec75e33
commit
047a8d0311
33
index.d.ts
vendored
33
index.d.ts
vendored
@ -214,39 +214,6 @@ export namespace Parser {
|
||||
|
||||
satisfies(checkTree: checkTree): boolean | undefined;
|
||||
|
||||
/**
|
||||
* Check if the browser name equals the passed string
|
||||
* @param {string} browserName The string to compare with the browser name
|
||||
* @param [includingAlias=false] The flag showing whether alias will be included into comparison
|
||||
* @returns {boolean}
|
||||
*/
|
||||
|
||||
isBrowser(browserName: string, includingAlias?: boolean): boolean;
|
||||
|
||||
/**
|
||||
* Check if the engine name equals the passed string
|
||||
* @param {string} engineName The string to compare with the engine name
|
||||
* @returns {boolean}
|
||||
*/
|
||||
|
||||
isEngine(engineName: string): boolean;
|
||||
|
||||
/**
|
||||
* Check if the platform type equals the passed string
|
||||
* @param {string} platformType The string to compare with the platform type
|
||||
* @returns {boolean}
|
||||
*/
|
||||
|
||||
isPlatform(platformType: string): boolean;
|
||||
|
||||
/**
|
||||
* Check if the OS name equals the passed string
|
||||
* @param {string} osName The string to compare with the OS name
|
||||
* @returns {boolean}
|
||||
*/
|
||||
|
||||
isOS(osName: string): boolean;
|
||||
|
||||
/**
|
||||
* Check if any of the given values satisfies `.is(anything)`
|
||||
* @param {string[]} anythings
|
||||
|
||||
Loading…
Reference in New Issue
Block a user