mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
chore: deps
This commit is contained in:
@@ -155,7 +155,7 @@ export async function generateIndex(model: ApiModel, packageName: string, tag =
|
||||
export async function generateAllIndices() {
|
||||
for (const pkg of PACKAGES) {
|
||||
const response = await request(`https://docs.discordjs.dev/api/info?package=${pkg}`);
|
||||
const versions = await response.body.json();
|
||||
const versions = (await response.body.json()) as any;
|
||||
|
||||
for (const version of versions) {
|
||||
idx = 0;
|
||||
|
||||
Reference in New Issue
Block a user