Build a proper validator for type defs
Build a proper validator for type defs

and add that to the validator mapping structure

Signed-off-by: Essien Ita Essien <bd402154b008803b915ff3326ddb7528f7e13a6b@gmail.com>

saleyn/erlcfg