Update requirement files with new feature templates and fix backend API error message, along with mobile project config updates and documentation improvements
This commit is contained in:
@@ -5,8 +5,6 @@ export interface DispatchObject {
|
||||
|
||||
type PromiseResolveValue<T> = T extends Promise<infer R> ? R : T;
|
||||
type EffectType<T extends (...args: any) => any> = ReturnType<ReturnType<T>>;
|
||||
type EffectReturnValue<T extends (...args: any) => any> = PromiseResolveValue<
|
||||
EffectType<T>
|
||||
>;
|
||||
type EffectReturnValue<T extends (...args: any) => any> = PromiseResolveValue<EffectType<T>>;
|
||||
export type ActionType<T extends (...args: any) => any> =
|
||||
ReturnType<T> extends DispatchObject ? ReturnType<T> : EffectReturnValue<T>;
|
||||
|
Reference in New Issue
Block a user