TS2368
error TS2368: Type parameter name cannot be ‘number’.
Broken Code ❌
1 |
|
Fixed Code ✔️
The easiest way to fix the error is to make age
optional as well:
1 |
|
error TS2368: Type parameter name cannot be ‘number’.
1 |
|
The easiest way to fix the error is to make age
optional as well:
1 |
|