diff --git a/package.json b/package.json index 40e22c0..35b5138 100644 --- a/package.json +++ b/package.json @@ -65,5 +65,8 @@ }, "engines": { "node": ">=16.17.1" + }, + "volta": { + "node": "16.17.1" } } diff --git a/src/index.ts b/src/index.ts index a4831dc..ef793f6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ or just shoot me that too */ -import { Response as NodeFetchResponse } from "node-fetch" +import { Response as NodeFetchResponse, RequestInit } from "node-fetch" export { RequestHandler } from "./RequestHandler" export { AmariBot } from "./AmariBot" diff --git a/tests/amari.test.ts b/tests/amari.test.ts index 2019347..c74255e 100644 --- a/tests/amari.test.ts +++ b/tests/amari.test.ts @@ -1,5 +1,7 @@ +import fetch from "node-fetch" import { AmariBot } from "../src" import { expect, expectTypeOf, test } from "vitest" +import { RequestInit } from "node-fetch" const guildId = "346474194394939393" const userId = "439223656200273932"