---
layout: docs
title: getBeforeTypes
id: class.Facebook.HackCodegen.CodegenFile.getBeforeTypes
docid: class.Facebook.HackCodegen.CodegenFile.getBeforeTypes
permalink: /docs/reference/class.Facebook.HackCodegen.CodegenFile.getBeforeTypes/
---
# Facebook\\HackCodegen\\CodegenFile::getBeforeTypes()




``` Hack
public function getBeforeTypes(): vec<Facebook\HackCodegen\CodegenType>;
```




## Returns




+ ` vec<Facebook\HackCodegen\CodegenType> `