TypeScript for Deno — A Look at Function Types

callbacks, void, undefined, unknown, and never

Eduardo Rico Sotomayor
Better Programming
Published in
4 min readJun 29, 2022

--

Author: Scott Greer: https://unsplash.com/es/fotos/XfQ3t7AGTv0

In the previous delivery we saw several data types that TypeScript has and we also saw the custom types that are the union of several types.

It is important to mention that you can make “object types”, that is to say, a “custom type” that is an object with a certain structure. This…

--

--