From e92b17d8555164ff259e524efc6a26675660e5c2 Mon Sep 17 00:00:00 2001 From: Khafra <42794878+KhafraDev@users.noreply.github.com> Date: Sat, 14 May 2022 12:39:12 -0400 Subject: [PATCH] fix(REST): remove dom types (#7922) --- packages/rest/__tests__/RequestHandler.test.ts | 1 + packages/rest/src/index.ts | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/rest/__tests__/RequestHandler.test.ts b/packages/rest/__tests__/RequestHandler.test.ts index 98b2295177a9..db4b47b8033a 100644 --- a/packages/rest/__tests__/RequestHandler.test.ts +++ b/packages/rest/__tests__/RequestHandler.test.ts @@ -1,3 +1,4 @@ +import { performance } from 'node:perf_hooks'; import { MockAgent, setGlobalDispatcher } from 'undici'; import type { Interceptable, MockInterceptor } from 'undici/types/mock-interceptor'; import { genPath } from './util'; diff --git a/packages/rest/src/index.ts b/packages/rest/src/index.ts index 28797f6c47be..1522bd259ce2 100644 --- a/packages/rest/src/index.ts +++ b/packages/rest/src/index.ts @@ -1,6 +1,3 @@ -// eslint-disable-next-line spaced-comment -/// - export * from './lib/CDN'; export * from './lib/errors/DiscordAPIError'; export * from './lib/errors/HTTPError';