3 Comments
User's avatar
Alexey's avatar

Hey man! Thank you for your article!

You incorrectly put that bun does type checking for you, it doesn’t. The reference from the documentation https://bun.sh/docs/runtime/typescript?utm_source=substack&utm_medium=email#running-ts-files:

“Note — Similar to other build tools, Bun does not typecheck the files. Use tsc (the official TypeScript CLI) if you're looking to catch static type errors.”

Expand full comment
Maina Wycliffe's avatar

Ah, my bad. Missed that. Will make the correction. Thank you for pointing out that for me.

Expand full comment
Tewodros Birhanu's avatar

Amazing

Expand full comment