mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
refactor(guide): next 13
This commit is contained in:
4
apps/guide/src/util/fetcher.ts
Normal file
4
apps/guide/src/util/fetcher.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const fetcher = async (url: string) => {
|
||||
const res = await fetch(url);
|
||||
return res.json();
|
||||
};
|
||||
Reference in New Issue
Block a user