1
0
Fork 0
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:
Fedor Katurov 2021-09-28 12:34:30 +07:00
parent 1242c04587
commit 0a75feef8d
2 changed files with 37 additions and 11 deletions

View file

@ -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 {