2
let {name: n} = student1 // "John" assigned to `n`
⣿
Type Errors
[E] Line 1, column 5:
The record field name can't be found. If it's defined in another module or file, bring it into scope by: - Prefixing it with said module name: TheModule.name - Or specifying its type: let theValue: TheModule.theType = {name: VALUE}
Type Errors
[E] Line 1, column 5:
The record field name can't be found. If it's defined in another module or file, bring it into scope by: - Prefixing it with said module name: TheModule.name - Or specifying its type: let theValue: TheModule.theType = {name: VALUE}
ReScript Version
Syntax
Module-System
Loaded Libraries
- @rescript/react
Warning Flags
+a-4-9-20-40-41-42-50-61-102