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




``` Hack
public function addAfterTypes(
  Traversable<Facebook\HackCodegen\CodegenType> $types,
): this;
```




## Parameters




* ` Traversable<Facebook\HackCodegen\CodegenType> $types `




## Returns




- ` this `