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




``` Hack
public function getType(): string;
```




## Returns




- ` string `