typescript – cannot pass a function parameters with the same type of its parameters
Here is a basic version that demonstrates the issue. Does anyone know why I cannot pass the return value to the wrapped function? The javascript works but typescript is not allowing it.