TL;DR When using esbuild to bundle code with --platform=node that depends on npm packages...
Introduction If you're a Node.js developer, you've probably heard of cjs and esm modules...
Problem I was surprised when I found out that TypeScript does not have a type-safe...