mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
updating related on node tags
This commit is contained in:
parent
1242c04587
commit
0a75feef8d
2 changed files with 37 additions and 11 deletions
|
@ -2,6 +2,8 @@ import { DetailedHTMLProps, InputHTMLAttributes, ReactElement } from 'react';
|
|||
import { DIALOGS } from '~/redux/modal/constants';
|
||||
import { ERRORS } from '~/constants/errors';
|
||||
import { IUser } from './auth/types';
|
||||
import { CallEffect } from 'redux-saga/effects';
|
||||
import { AxiosResponse } from 'axios';
|
||||
|
||||
export interface ITag {
|
||||
id: number;
|
||||
|
@ -200,6 +202,10 @@ export type Unwrap<T> = T extends (...args: any) => Promise<any>
|
|||
: T
|
||||
: T extends () => Iterator<any, infer U, any>
|
||||
? U
|
||||
: T extends (...args: any) => Generator<CallEffect<AxiosResponse<infer U>>>
|
||||
? U
|
||||
: T extends (...args: any) => Generator<CallEffect<infer U>>
|
||||
? U
|
||||
: any;
|
||||
|
||||
export interface IEmbed {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue