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