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




``` Hack
public function setTypef(
  HH\Lib\Str\SprintfFormatString $format,
  mixed ...$args,
): this;
```




## Parameters




- ` HH\Lib\Str\SprintfFormatString $format `
- ` mixed ...$args `




## Returns




+ ` this `