Recursive Types
If you want an object type to be able to contain one of itself (recursion), then you have to start using keyed types. The basic pattern is this:
If you want an object type to be able to contain one of itself (recursion), then you have to start using keyed types. The basic pattern is this: