Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

globalthis.fetch #258

Copy link
Copy link
@jagguji

Description

@jagguji
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.