Recursive Types in TypeScript: A Brief Exploration
It is said that there are two different worlds in TypeScript that exist side by side: the type world and the value world.
Consider this line of code:
const firstName: string = 'Maynard';
While firstName and 'Maynard' live in the value world, string ...
freecodecamp.org10 min read