fix: types

This commit is contained in:
H01001000
2022-12-01 13:32:33 +08:00
parent d1cf55fdeb
commit 867e25e91a
2 changed files with 1 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import { BASE_URL } from '../util/constants.js'
import { BASE_URL } from '@discordeno/utils'
import { createQueueBucket } from './createQueueBucket.js'
import { RestPayload, RestRequest } from './rest.js'
import { RestManager } from './restManager.js'

View File

@@ -23,7 +23,6 @@ export async function runMethod<T = any> (
)
const errorStack = new Error('Location:')
// @ts-expect-error Breaks deno deploy. Luca said add ts-ignore until it's fixed
Error.captureStackTrace(errorStack)
// For proxies we don't need to do any of the legwork so we just forward the request