create a typedef file for template