beeb
beeb@lemm.ee
Joined
2 posts • 126 comments
OP: “typescript is easy and rust is ugly”
Typescript :
export type PayloadActionCreator<
P = void,
T extends string = string,
PA extends PrepareAction<P> | void = void
> = IfPrepareActionMethodProvided<
PA,
_ActionCreatorWithPreparedPayload<PA, T>,
// else
IsAny<
P,
ActionCreatorWithPayload<any, T>,
IsUnknownOrNonInferrable<
P,
ActionCreatorWithNonInferrablePayload<T>,
// else
IfVoid<
P,
ActionCreatorWithoutPayload<T>,
// else
IfMaybeUndefined<
P,
ActionCreatorWithOptionalPayload<P, T>,
// else
ActionCreatorWithPayload<P, T>
>
>
>
>
>
Kagi and Zen works for me
Started using Zen browser recently and it’s not bad! Basically Firefox but more stylish and more privacy. It syncs with my Mozilla/Firefox account so on mobile I just use Firefox.