← All tips

TypeScript: avoid floating promises

typescriptpitfalls

Always await or explicitly handle errors.

void doWork().catch(console.error);