Type error: error: The type of `toMap x` must be of the form `List { mapKey : Text, mapValue : T }` --> :2:1 | 1 | -- The mapKey must be Text 2 | toMap {=} : List { mapKey : Bool, mapValue : Text } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The type of `toMap x` must be of the form `List { mapKey : Text, mapValue : T }` |