Compare src/a.ts with b.mjs; they are identical. Run npm run build; the code in src compiles. Run npm run run-a or npm run run-b; both work. Open b.mjs in VS Code; there's an error.