![](https://kenanhancer.com/wp-content/uploads/2022/04/Screenshot-2022-04-15-at-16.30.11-1024x593.png)
When you remove [keyof T]
section in line 169, you will see a big difference.
![](https://kenanhancer.com/wp-content/uploads/2022/04/Screenshot-2022-04-15-at-16.30.11-1-1024x593.png)
As you see in the following screenshot, it created an Union Object Type, but most of the field types are never
. That's why, in order to list values of type, we need to have that deleted section.
![](https://kenanhancer.com/wp-content/uploads/2022/04/Screenshot-2022-04-15-at-16.39.18-1024x631.png)