genTypes
export function genTypes(schema: TypeSchema): [string, string]
TODO: handle recursive data structures
Arguments
1. schema
schema: TypeSchema
Returns
[string, string]
- the first entry is the strict canonical type, the second is the permissive type