chore: split app to commons and web (squash commit)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import * as TE from "fp-ts/TaskEither"
|
||||
|
||||
/**
|
||||
* A utility type which gives you the type of the left value of a TaskEither
|
||||
*/
|
||||
export type TELeftType<T extends TE.TaskEither<any, any>> =
|
||||
T extends TE.TaskEither<
|
||||
infer U,
|
||||
// eslint-disable-next-line
|
||||
infer _
|
||||
>
|
||||
? U
|
||||
: never
|
||||
Reference in New Issue
Block a user