Open timhaywood opened 2 years ago
The evalScript function should return a Promise<string>, since it's asynchronous.
evalScript
Promise<string>
Now when you're calling it you know to await the return value.
await
My bad for introducing the type error!
The
evalScript
function should return aPromise<string>
, since it's asynchronous.Now when you're calling it you know to
await
the return value.My bad for introducing the type error!