next-enterprise/packages/helper/fetch.ts

6 lines
163 B
TypeScript
Raw Normal View History

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