Closed mrv1k closed 2 years ago
Same goes for $ElementType<T, K>
but that changes involves slightly more changes. I'll update and submit the PR later this week.
Doc update would be confusing without the appropriate source code update. Don't have the time to contribute right now.
WARNING: $PropertyType is deprecated as of Flow version 0.155, and will be removed in a future version of Flow. Use Indexed Access Types instead. $PropertyType<T, 'k'> is now T['k'].
https://flow.org/en/docs/types/utilities/#toc-propertytype