mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-02 22:01:52 +00:00
Migrated ImageDownloader from axios to fetch
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
export type MediaMatcher = (query: string) => MediaQueryList;
|
||||
|
||||
export type Fetch = <T>(url: string, options?: RequestInit) => Promise<T>;
|
||||
export type Fetch = typeof window.fetch;
|
||||
|
||||
export type JsonFetch = <T>(url: string, options?: RequestInit) => Promise<T>;
|
||||
|
||||
Reference in New Issue
Block a user