typescript template fixed