translate module to TypeDeclaration
module to TypeDeclaration