Skip to content

Commit 84006df

Browse files
committed
fix(api): revert removing index import for api plugin register file
This appears to be a small change that reverted a reverted commit but which broke the ambient declaration merging of the api plugin. This change restores the api plugin to be consistent with the various other plugins and to properly export the merged types again
1 parent fe87827 commit 84006df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/api/src/register.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import './index';
2+
13
import { Plugin, postInitialization, preLogin, SapphireClient } from '@sapphire/framework';
24
import type { ClientOptions } from 'discord.js';
35
import { loadListeners, loadMiddlewares, loadRoutes, Server } from './index';

0 commit comments

Comments
 (0)