Restricting a Typescript Type to a Set of NumbersOle Ersoy·FollowFeb 10--ListenShareImage by Pexels from PixabayScenarioWe need a Typescript type that restricts a Quadrant to the numbers 1,2,3,4.Approachtype Quadrant = 1 | 2 | 3 | 4;Demo
Ole ErsoyListening to Enter Events on Input Text Elements With AngularScenario1 min read·Dec 21, 2018--1
Vitalii ShevchukinITNEXT🔥 Mastering TypeScript: 20 Best Practices for Improved Code QualityAchieve Typescript mastery with a 20-steps guide, that takes you from Padawan to Obi-Wan.·14 min read·Jan 20--21
ByteferinLevel Up CodingDesign Patterns: Visitor Pattern in TypeScriptDefine New Operations Without Changing the Data Structure in Advance·9 min read·Dec 6, 2022--1
The PyCoachinArtificial CornerYou’re Using ChatGPT Wrong! Here’s How to Be Ahead of 99% of ChatGPT UsersMaster ChatGPT by learning prompt engineering.·7 min read·Mar 17--360
fatfishinJavaScript in Plain EnglishInterviewer: Can sessionStorage Share Data Between Multiple Tabs?The question that most front-end developers don’t know the answer·3 min read·Feb 5--12
Alexander NguyeninLevel Up CodingWhy I Keep Failing Candidates During Google Interviews…They don’t meet the bar.·4 min read·Apr 13--127
Joseph ChikemeHow to use Angular CanActivate(CanActivateFn) function.Recently, I updated my Angular project from version 14 to version 16. I had a couple of bugs due to some updates in the recent Angular 16.2 min read·May 22--