decoder: add support for as: [Type]