chore(typings): Moved common typings to root dir

This commit is contained in:
Taso committed 2021-03-14 15:19:30 -04:00
1 parent 378830245d
commit f0c5e5101e
47 files changed
+41 -46

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import { useRecoilState } from 'recoil';
import { CallProps } from '../../../common/typings/call';
import { CallProps } from '../../../../../typings/call';
import Nui from '../../nui-events/utils/Nui';
import { callerState } from './state';
@@ -1,7 +1,7 @@
import React from 'react';
import { useTranslation } from 'react-i18next';
import { useHistory } from 'react-router-dom';
import { CallProps } from '../../../common/typings/call';
import { CallProps } from '../../../../../typings/call';
import { useApp } from '../../apps/hooks/useApps';
import { useNotifications } from '../../notifications/hooks/useNotifications';
import { useRingtoneSound } from '../../sound/hooks/useRingtoneSound';
@@ -65,7 +65,7 @@ export const useCallNotifications = () => {
</CallNotification>
),
},
(n) => addNotification(n)
(n) => addNotification(n),
);
}
};
+1 -1
View File
@@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
import { useNuiEvent } from '../../nui-events/hooks/useNuiEvent';
import { useSetRecoilState } from 'recoil';
import { useCall } from './useCall';
import { CallProps } from '../../../common/typings/call';
import { CallProps } from '../../../../../typings/call';
import InjectDebugData from '../../debug/InjectDebugData';
import { useCallModal } from './useCallModal';
import { useHistory, useLocation } from 'react-router-dom';
+1 -1
View File
@@ -1,5 +1,5 @@
import { useRecoilValue } from 'recoil';
import { IServerConfig } from '../../../common/typings/config';
import { IServerConfig } from '../../../../../typings/config';
import ServerConfig from '../../../config.autogen.json';
import { useNotifications } from '../../notifications/hooks/useNotifications';
import Nui from '../../nui-events/utils/Nui';