Open
Description
At the moment, we don't support tuple type, which is actually an array, pointing to [*]
. We're thinking about whether to support it or not. If we support this type, it will be a number in parentheses. This requires very deep type reasoning, so performance issues may arise for users with less memory.
Expected
type Answer1 = DeepStrictObjectKeys<[]>; // never
type Answer2 = DeepStrictObjectKeys<['a']>; // '[*]'
Actual
type Answer1 = DeepStrictObjectKeys<[]>; // never
type Answer2 = DeepStrictObjectKeys<['a']>; // '[0]'