- interfaces instead of types - remove semicolons - use functions instead of anonymous arrow functions - rename vars/types for better understanding - fix typo