Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
/**
|
|
* Tells whether current environment supports ErrorEvent objects
|
|
* {@link supportsErrorEvent}.
|
|
*
|
|
* @returns Answer to the given question.
|
|
*/
|
|
export declare function supportsErrorEvent(): boolean;
|
|
/**
|
|
* Tells whether current environment supports DOMError objects
|
|
* {@link supportsDOMError}.
|
|
*
|
|
* @returns Answer to the given question.
|
|
*/
|
|
export declare function supportsDOMError(): boolean;
|
|
/**
|
|
* Tells whether current environment supports DOMException objects
|
|
* {@link supportsDOMException}.
|
|
*
|
|
* @returns Answer to the given question.
|
|
*/
|
|
export declare function supportsDOMException(): boolean;
|
|
/**
|
|
* Tells whether current environment supports History API
|
|
* {@link supportsHistory}.
|
|
*
|
|
* @returns Answer to the given question.
|
|
*/
|
|
export declare function supportsHistory(): boolean;
|
|
/**
|
|
* Tells whether current environment supports Fetch API
|
|
* {@link supportsFetch}.
|
|
*
|
|
* @returns Answer to the given question.
|
|
* @deprecated This is no longer used and will be removed in a future major version.
|
|
*/
|
|
export declare const supportsFetch: typeof _isFetchSupported;
|
|
declare function _isFetchSupported(): boolean;
|
|
/**
|
|
* isNative checks if the given function is a native implementation
|
|
*/
|
|
export declare function isNativeFunction(func: Function): boolean;
|
|
/**
|
|
* Tells whether current environment supports Fetch API natively
|
|
* {@link supportsNativeFetch}.
|
|
*
|
|
* @returns true if `window.fetch` is natively implemented, false otherwise
|
|
*/
|
|
export declare function supportsNativeFetch(): boolean;
|
|
/**
|
|
* Tells whether current environment supports ReportingObserver API
|
|
* {@link supportsReportingObserver}.
|
|
*
|
|
* @returns Answer to the given question.
|
|
*/
|
|
export declare function supportsReportingObserver(): boolean;
|
|
/**
|
|
* Tells whether current environment supports Referrer Policy API
|
|
* {@link supportsReferrerPolicy}.
|
|
*
|
|
* @returns Answer to the given question.
|
|
* @deprecated This is no longer used and will be removed in a future major version.
|
|
*/
|
|
export declare function supportsReferrerPolicy(): boolean;
|
|
export {};
|
|
//# sourceMappingURL=supports.d.ts.map
|