Content pfp
Content
@
https://warpcast.com/~/channel/devfc
0 reply
0 recast
0 reaction

LΞovido pfp
LΞovido
@leovido.eth
Little gotcha with TypeScript There are two ways that you can prevent this odd behaviour 🧵 👇
3 replies
1 recast
3 reactions

LΞovido pfp
LΞovido
@leovido.eth
Solution #1: Simply adding a type will show an error in `handleName` The inner user inside the map, does not have an explicit type. Adding an explicit type can help the compiler check that the inner function matches the FCUser type
0 reply
0 recast
1 reaction

LΞovido pfp
LΞovido
@leovido.eth
Solution #2: Add `satisfies` in the inner function of the map
1 reply
0 recast
1 reaction

Vlady🎩 pfp
Vlady🎩
@vlady
gm buddy working 🥰😎
1 reply
0 recast
1 reaction