How do I specify a function's type? For example, I want to create an inline function called `listify` that takes as input any type T and returns an array of type T. What would the type of my function be? As in,

```ts
const listify: /* what should go here? */ = <implementation>
```

Please also provide an example implementation of `listify`. You can just repeat the input 10 times in the example.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence