Added type aliases to outline (typedefs)

Fixes #2601 

Review @devoncarew @dinhviethoa