-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.d.ts
45 lines (35 loc) · 1.18 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
declare const useragent: {
/**
@returns Chrome user agent
*/
chrome: (version: string | number, sysInfo?: string) => string;
/**
@returns Chrome user agent with advanced options
*/
chromeAdvanced: (version: string | number, webkitVersion: string | number, sysInfo?: string) => string;
/**
@returns Firefox user agent
*/
firefox: (version: string | number, sysInfo?: string) => string;
/**
@returns Firefox user agent with advanced options
*/
firefoxAdvanced: (version: string | number, geckoVersion: string | number, sysInfo?: string) => string;
/**
@returns Opera user agent
*/
opera: (version: string | number, sysInfo?: string) => string;
/**
@returns Opera user agent with advanced options
*/
operaAdvanced: (version: string | number, prestoVersion: string | number, operaVersion: string | number, sysInfo?: string) => string;
/**
@returns Safari user agent
*/
safari: (version: string | number, sysInfo?: string) => string;
/**
@returns Safari user agent with advanced options
*/
safariAdvanced: (version: string | number, webkitBuildVersion: string | number, safariBuildVersion: string | number, sysInfo?: string) => string;
};
export = useragent;