refactor: move things to core, imports not fixed yet

This commit is contained in:
Jacob Nguyen
2023-04-12 13:08:45 -05:00
parent 21febd2c90
commit 58b3d85da8
20 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
import type { Dependencies } from '../../types/handler';
/**
* @since 1.0.0
* An object to be passed into Sern#init() function.
* @typedef {object} Wrapper
*/
interface Wrapper {
readonly defaultPrefix?: string;
readonly commands: string;
readonly events?: string;
readonly containerConfig: {
get: (...keys: (keyof Dependencies)[]) => unknown[];
};
}
export default Wrapper;