mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
feat(core): http-only wrapper (#9281)
This commit is contained in:
11
packages/core/src/http-only/index.ts
Normal file
11
packages/core/src/http-only/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export * from '../api/index.js';
|
||||
export * from '../util/index.js';
|
||||
|
||||
export * from 'discord-api-types/v10';
|
||||
|
||||
/**
|
||||
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/core/#readme | @discordjs/core} version
|
||||
* that you are currently using.
|
||||
*/
|
||||
// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
|
||||
export const version = '[VI]{{inject}}[/VI]' as string;
|
||||
@@ -3,3 +3,10 @@ export * from './client.js';
|
||||
export * from './util/index.js';
|
||||
|
||||
export * from 'discord-api-types/v10';
|
||||
|
||||
/**
|
||||
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/core/#readme | @discordjs/core} version
|
||||
* that you are currently using.
|
||||
*/
|
||||
// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
|
||||
export const version = '[VI]{{inject}}[/VI]' as string;
|
||||
|
||||
Reference in New Issue
Block a user