pub fn parse_type(source: &str) -> Result<TypeExpr, Vec<Diagnostic>>
Parses a type by itself ((number, string) -> boolean), the way host declarations and definition strings are written.
(number, string) -> boolean