@osskit/fetch-enhancers
Advanced tools
Comparing version 4.1.2 to 4.2.0
@@ -13,1 +13,2 @@ export interface FetchErrorProperties<T> { | ||
} | ||
export declare function isFetchError(error: any): error is FetchError; |
@@ -13,2 +13,5 @@ export class FetchError extends Error { | ||
} | ||
export function isFetchError(error) { | ||
return Boolean(error && error.name === 'FetchError'); | ||
} | ||
//# sourceMappingURL=fetchError.js.map |
{ | ||
"name": "@osskit/fetch-enhancers", | ||
"version": "4.1.2", | ||
"version": "4.2.0", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "url": "https://github.com/osskit/fetch-enhancers" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16835
173