Content
@
0 reply
0 recast
0 reaction
0xl0wlevelcr0w
@l0wlevelcr0w
When you guys do typescript, do you make a separate folder for types or just stick em in line in the file?
5 replies
0 recast
4 reactions
Len
@len-
I almost always have it in the same file. If it’s for a component it just makes sense to keep it in one place. If it’s part of a library or utility file it can give context when importing elsewhere.
0 reply
0 recast
0 reaction