In reply to cgales:
Don’t use a typedef as it is a poor coding practice and can lead to other errors which won’t be detected during compilation.
Agree. Usage of packages can be another alternative, yet can you please enlighten about other type of coding errors that can pop out by using typedef. Mostly we use import/typedef to resolve cross dependencies.