ocsigen / ts2ocaml

Generate OCaml bindings from TypeScript definitions via the TypeScript compiler API
Apache License 2.0
173 stars 8 forks source link

The module or file Ts2ocaml can't be found #403

Closed searleser97 closed 7 months ago

searleser97 commented 7 months ago

image

cannorin commented 7 months ago

You need to generate ts2ocaml.res, which provides the binding to TypeScript-specific types not included in ReScript's standard library.

Please follow the tutorial here: https://github.com/ocsigen/ts2ocaml/blob/main/docs/rescript.md