TypeMismatchResult
Defined in: src/runtime/diagnostics.ts:101
An expression parsed, but a constraint rejected it.
Properties
Section titled “Properties”code:
"TYPE_MISMATCH"
Defined in: src/runtime/diagnostics.ts:102
message
Section titled “message”message:
string
Defined in: src/runtime/diagnostics.ts:103
position
Section titled “position”position:
number
Defined in: src/runtime/diagnostics.ts:105
0-based offset into the input
expected
Section titled “expected”expected: readonly
string[]
Defined in: src/runtime/diagnostics.ts:107
The one constraint description the slot expected
found:
string
Defined in: src/runtime/diagnostics.ts:109
The next few characters at position