Effect CommunityEC
Effect Community6mo ago
3 replies
johtso

Cleaner Type Definition for DeferredTokenSet

Is there a cleaner way doing this?
    type A = Effect.Effect.Success<ReturnType<typeof _refreshAndPersistTokenSet>>
    type E = Effect.Effect.Error<ReturnType<typeof _refreshAndPersistTokenSet>>
    type DeferredTokenSet = Deferred.Deferred<A, E>
Was this page helpful?