@Val external fetchOrig: string => promise = "fetch"
@Val
external fetchWithInitOrig: (string, requestInit) => promise = "fetch"
in rescript 11 this used to work bu in the rescript 12
@scope("window") @Val
external fetchOrig: string => promise = "fetch"
@scope("window") @Val
external fetchWithInitOrig: (string, requestInit) => promise = "fetch"
as if i try to run the rescript 11 in the rescript 12 the n it's adding the globalThis.fetch and it's not working as expected.
@Val external fetchOrig: string => promise = "fetch"
@Val
external fetchWithInitOrig: (string, requestInit) => promise = "fetch"
in rescript 11 this used to work bu in the rescript 12
@scope("window") @Val
external fetchOrig: string => promise = "fetch"
@scope("window") @Val
external fetchWithInitOrig: (string, requestInit) => promise = "fetch"
as if i try to run the rescript 11 in the rescript 12 the n it's adding the globalThis.fetch and it's not working as expected.