Open
Description
It would be nice if this worked:
const a = foo();
const b = bar();
// Both `a` and `b` is an `object`, but TS only knows they're `any`.
if (is.all(is.object, a, b)) {
// `a` and `b` is now known by TS as `object`
}
There is a $30.00 open bounty on this issue. Add more on Issuehunt.
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on Issuehunt to raise funds.