You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library cannot be used without casting ctx as unknown as ExecutionContext or any while instantiate in latest DurableObject that extends DurableObject class:
this is because DurableObjectState which is an execution context doesn't implement passThroughOnException(): void; from ExecutionContext. But I can see that you are using only waitUntil(promise: Promise<any>): void; from this type so this context type could be narrowed to use this library without type casting.
The text was updated successfully, but these errors were encountered:
This library cannot be used without casting ctx
as unknown as ExecutionContext
orany
while instantiate in latest DurableObject that extendsDurableObject
class:this is because
DurableObjectState
which is an execution context doesn't implementpassThroughOnException(): void;
fromExecutionContext
. But I can see that you are using onlywaitUntil(promise: Promise<any>): void;
from this type so this context type could be narrowed to use this library without type casting.The text was updated successfully, but these errors were encountered: