bug fix

should also handle cases where the underlying type
of a typedef is of TemplateTypeParmType