TS2558
error TS2558: Expected 2 type arguments, but got 1.
Broken Code ❌
1 |
|
Fixed Code ✔️
The combine
function defines 2 type variables (X
& Y
), so you have to pass it 2 type arguments:
1 |
|
error TS2558: Expected 2 type arguments, but got 1.
1 |
|
The combine
function defines 2 type variables (X
& Y
), so you have to pass it 2 type arguments:
1 |
|