A short guide on best practices, techniques and existing tooling available to prevent TypeErrors in JavaScript or TypeScript.