4 ms·
Oh hmm, that raises a good point. I guess the types I provided in my comment are actually for `then` as `map`, not as `bind`, oops. Both of these exist: `Prom
by frogulis 5y ago
Oh hmm, that raises a good point. I guess the types I provided in my comment are actually for `then` as `map`, not as `bind`, oops.
Both of these exist:
`Promise<T1>.then(T1 => Promise<T2>): Promise<T2> // equivalent to bind`
`Promise<T1>.then(T1 => T2): Promise<T2> // equivalent to map`