© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Luca Del Puppo
Microsoft MVP, Google Developer Expert, GitKraken Ambassador, Senior Software Developer at NearForm and JavaScript enthusiastic.
Today I want to talk about the never type. As you can understand, this type identifies a piece of code that will never be executed or represents a state that shouldn’t exist. Here an example const throwException: () => never = () => { throw new E...
No responses yet.