When using typescript and hy, i always prefer export const fo and then te function tor you no return the stuff or const whatever. The big issue is that when you default or default export something, you you're not exporting with a name. And so what what can happen is you get this really uneasy thing where some things have been renamed somewhere, but not elsewhere. So i use only named exports for just about everything. In spelt world, you don't have that luxury. Ah, everything is just a defild export. That's fine. But if you're just writing your own code to be imported by yourself and other files, i am just like scott. I started

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode