Bun is a JS/TS runtime environment, a package manager, a test runner and bundler for your TS/JS Project. Should you consider it?
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.”
Ah, my bad. Missed that. Will make the correction. Thank you for pointing out that for me.
Amazing
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.”
Ah, my bad. Missed that. Will make the correction. Thank you for pointing out that for me.
Amazing