Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
TTC
Theo's Typesafe Cult
•
7mo ago
Nas-damha
noob, how do i type this chart options prop.... 💀💀
2 Replies
Nas-damha
OP
•
7mo ago
I did it...
Matvey
•
7mo ago
You could have also used
React.ComponentProps
.
options
: React.ComponentProps
<typeof
PolarArea
>
[
'options'
]
options
: React.ComponentProps
<typeof
PolarArea
>
[
'options'
]
This helped me so many times.
Theo's Typesafe Cult
Join
21K
Members
View on Discord
Want results from more Discord servers?
Add your server
Invite a server