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




``` Hack
private function getFileTypeDeclaration(): string;
```




## Returns




* ` string `