Skip to content

Glossary: TypeScript Beyond the Basics

Floating promise

Also written: floating promises, no-floating-promises

A promise that nothing waits for, usually because `await` was forgotten. If it fails, nobody hears about it; typescript-eslint's `no-floating-promises` rule catches it.

Where the book teaches it

Related terms

typescript-eslintLinter