May 14, 2021

Non-empty arrays thanks to Typescript

Tutorial description

Introducing our series: #TechTips​​​​! In these videos, our in-house developer team at Hackages share with you the tech tips you need to become a better developer! Check out our other series 'Tech Tips' videos.Sick of writing if (myArray.length -angled bracket- 0) ? In this video, Florian Pasteur, software engineer at Hackages, shows you how to strongly type your arrays to have mandatory elements in Typescript.

Hackages is an educational platform with the mission of improving developers and businesses' skills and helping them acquire new ones.