TypeScript · easy
Payments still relies on a callback nest from another decade. The payout finishes, but the receipt says "pending:42" instead of paid. Keep the helpers callback-based and fix the result.
When the payout finishes, return the paid receipt rather than the pending one. runPayout(42) resolves to "paid:42".
workspace/
└── src/
└── payout.ts (nest from 2014; receipt says pending)With sharpen installed, this command opens exactly this challenge in your local arena:
sharpen 26
First time? The full install is right below.
npm install -g @juanwmedia/sharpen sharpen 26 npx @juanwmedia/sharpen 26 sharpen update