Practice question from Advanced Typescript

Complete the type definition for a recursive type:

type ____<T> = T | ____<T>[];

Answer

["RecursiveType","RecursiveType"]

Explanation

This creates a recursive type that can contain either the original type or an array of the same recursive type

More questions from Quick: Advanced Typescript