console.log([].concat(0, 123))
I'm completely stumped by the error message displayed.
The error states: No overload matches this call.
Overload 1 of 2, '(...items: ConcatArray<never>[]): never[]', produced an error.
Argument of type '0' is not compatible with parameter of type 'ConcatArray<never>'.
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', resulted in an error.
Argument of type '0' is not suitable for parameter of type 'ConcatArray<never>'.ts(2769)
Even after assigning to a variable and declaring any type, the error persists.