fix: removed all imports for node fetch

This commit is contained in:
TresAbhi committed 2023-05-28 02:36:02 +00:00
1 parent 88bb8bb52d
commit 816cdc4bc6
6 files changed
-8

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
import fetch from 'node-fetch';
import { WargamingResponse } from '../../types/wargamingResponse.js';
export default async function getWargamingResponse<Data extends object>(
@@ -1,5 +1,4 @@
import { CacheType, ChatInputCommandInteraction } from 'discord.js';
import fetch from 'node-fetch';
import { PlayerPeriodicStatsCollection } from '../../types/statistics.js';
import { notTrackedByBlitzStars } from '../interaction/notTrackedByBlitzStars.js';
-1
View File
@@ -1,5 +1,4 @@
import { CacheType, ChatInputCommandInteraction } from 'discord.js';
import fetch from 'node-fetch';
import { PlayerStats } from '../../types/playerStats.js';
export default async function getPlayerStats(
@@ -1,4 +1,3 @@
import fetch from 'node-fetch';
import { BlitzServer } from '../../constants/servers.js';
import { AllStats } from '../../types/accountInfo.js';
import { TanksStats } from '../../types/tanksStats.js';
-2
View File
@@ -1,5 +1,3 @@
import fetch from 'node-fetch';
export type TankType = 'heavyTank' | 'AT-SPG' | 'mediumTank' | 'lightTank';
export interface Tankopedia {
@@ -1,5 +1,3 @@
import fetch from 'node-fetch';
export interface Period {
statsId: number;
account_id: number;