Open
Description
Actual behavior
condition(fn, timeout): Promise
fn | () => boolean
const success = await condition(
async () => { <---------------- why this line not support typescript?
},
{
timeout: `1s`,
interval: `1s`,
}
);
https://typescript.temporal.io/api/namespaces/workflow#condition
Expected behavior
condition(fn, timeout): Promise
fn | () => Promise