1 | /**
|
2 | * Tells whether current environment supports ErrorEvent objects
|
3 | * {@link supportsErrorEvent}.
|
4 | *
|
5 | * @returns Answer to the given question.
|
6 | */
|
7 | export declare function supportsErrorEvent(): boolean;
|
8 | /**
|
9 | * Tells whether current environment supports DOMError objects
|
10 | * {@link supportsDOMError}.
|
11 | *
|
12 | * @returns Answer to the given question.
|
13 | */
|
14 | export declare function supportsDOMError(): boolean;
|
15 | /**
|
16 | * Tells whether current environment supports DOMException objects
|
17 | * {@link supportsDOMException}.
|
18 | *
|
19 | * @returns Answer to the given question.
|
20 | */
|
21 | export declare function supportsDOMException(): boolean;
|
22 | /**
|
23 | * Tells whether current environment supports Fetch API
|
24 | * {@link supportsFetch}.
|
25 | *
|
26 | * @returns Answer to the given question.
|
27 | */
|
28 | export declare function supportsFetch(): boolean;
|
29 | /**
|
30 | * isNativeFetch checks if the given function is a native implementation of fetch()
|
31 | */
|
32 | export declare function isNativeFetch(func: Function): boolean;
|
33 | /**
|
34 | * Tells whether current environment supports Fetch API natively
|
35 | * {@link supportsNativeFetch}.
|
36 | *
|
37 | * @returns true if `window.fetch` is natively implemented, false otherwise
|
38 | */
|
39 | export declare function supportsNativeFetch(): boolean;
|
40 | /**
|
41 | * Tells whether current environment supports ReportingObserver API
|
42 | * {@link supportsReportingObserver}.
|
43 | *
|
44 | * @returns Answer to the given question.
|
45 | */
|
46 | export declare function supportsReportingObserver(): boolean;
|
47 | /**
|
48 | * Tells whether current environment supports Referrer Policy API
|
49 | * {@link supportsReferrerPolicy}.
|
50 | *
|
51 | * @returns Answer to the given question.
|
52 | */
|
53 | export declare function supportsReferrerPolicy(): boolean;
|
54 | /**
|
55 | * Tells whether current environment supports History API
|
56 | * {@link supportsHistory}.
|
57 | *
|
58 | * @returns Answer to the given question.
|
59 | */
|
60 | export declare function supportsHistory(): boolean;
|
61 | //# sourceMappingURL=supports.d.ts.map |
\ | No newline at end of file |