Content
@
0 reply
0 recast
0 reaction
Mikko
@moo
Is there anything equivalent of Typescript interfaces in modern vanilla JavaScript, for describing complex returned objects?
2 replies
0 recast
1 reaction
Burneeble
@burneeble.eth
I think the best way to represent complex returned objects is JSDoc, but of course it will never be at the level of typescript interfaces
0 reply
0 recast
2 reactions
Razvan Gabriel
@razgraf
Good ol’ JSDocs?
0 reply
0 recast
0 reaction