6 lines
163 B
TypeScript
6 lines
163 B
TypeScript
|
|
import _fetch from "isomorphic-unfetch"
|
||
|
|
|
||
|
|
export function fetch(url: string, options: RequestInit = {}): Promise<Response> {
|
||
|
|
return _fetch(url, { ...options })
|
||
|
|
}
|