Skip to content

globalthis.fetch #258

@jagguji

Description

@jagguji

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions