spit out type decls in generated code