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?
Hi!
I installed experimental-rescript-webapi
package.json
I added the dependency
rescript.json
When I compile, I get an error:
However, Fetch, Response, etc., are accessible directly (I'm not using
-open WebAPI)Could you please tell me what the problem is?