Installation
npm install --save @types/browserslist-useragent
Summary
This package contains type definitions for browserslist-useragent (https://github.com/browserslist/browserslist-useragent).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browserslist-useragent.
export interface ResolvedUserAgent {
family: string;
version: string;
}
export interface BrowserslistUseragentOptions {
browsers?: string[] | undefined;
env?: string | undefined;
ignorePatch?: boolean | undefined;
ignoreMinor?: boolean | undefined;
allowHigherVersions?: boolean | undefined;
path?: string | undefined;
}
export function matchesUA(
uaString: string,
opts?: BrowserslistUseragentOptions,
): boolean;
export function resolveUserAgent(uaString: string): ResolvedUserAgent;
export function normalizeQuery(query: string): string;
Additional Details
- Last updated: Tue, 17 Oct 2023 22:10:13 GMT
- Dependencies: none
Credits
These definitions were written by nju33.