import { NullEventSource } from '@launchdarkly/js-server-sdk-common'; import type { EventSource, EventSourceInitDict, Options, Response, Requests, } from '@launchdarkly/js-server-sdk-common'; export default class EdgeRequests implements Requests { fetch(url: string, options: Options = {}): Promise { // @ts-ignore return fetch(url, options); } createEventSource(url: string, eventSourceInitDict: EventSourceInitDict): EventSource { return new NullEventSource(url, eventSourceInitDict); } }