5
// Example.res
let pet: Zoo.animal = Dog // preferred
// or
let pet2 = Zoo.Dog
⣿
Type Errors
[E] Line 2, column 9:
The module or file Zoo can't be found. - If it's a third-party dependency: - Did you add it to the "bs-dependencies" or "bs-dev-dependencies" in bsconfig.json? - Did you include the file's directory to the "sources" in bsconfig.json?
Type Errors
[E] Line 2, column 9:
The module or file Zoo can't be found. - If it's a third-party dependency: - Did you add it to the "bs-dependencies" or "bs-dev-dependencies" in bsconfig.json? - Did you include the file's directory to the "sources" in bsconfig.json?
ReScript Version
Syntax
Module-System
Loaded Libraries
- @rescript/react
- @rescript/core
- compiler-builtins
Warning Flags
+a-4-9-20-40-41-42-50-61-102