Skip to content

The module or file WebAPI can't be found. #274

@ddidwyll

Description

@ddidwyll

Hi!

I installed experimental-rescript-webapi

npm i @rescript/webapi@experimental --save-dev

package.json

  "@rescript/webapi": "^0.1.0-experimental-0781ac8"

I added the dependency
rescript.json

  "dependencies": ["@rescript/webapi"]

When I compile, I get an error:

The module or file WebAPI can't be found.

However, Fetch, Response, etc., are accessible directly (I'm not using -open WebAPI)
Could you please tell me what the problem is?

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