mirror of
https://github.com/sern-handler/create-bot
synced 2026-06-06 01:16:53 +00:00
23 lines
699 B
Plaintext
23 lines
699 B
Plaintext
/**
|
|
* This file serves as intellisense for sern projects.
|
|
* Types are declared here for dependencies to function properly
|
|
* Service(s) api rely on this file to provide a better developer experience.
|
|
*/
|
|
|
|
import type { CoreDependencies } from '@sern/handler';
|
|
import type { Client } from 'discord.js'
|
|
import type { Publisher } from '@sern/publisher'
|
|
/**
|
|
* Note: You usually would not need to modify this unless there is an urgent need to break the contracts provided.
|
|
* You would need to modify this to add your custom Services, however.
|
|
*/
|
|
declare global {
|
|
interface Dependencies extends CoreDependencies {
|
|
'@sern/client': Client;
|
|
'publisher': Publisher;
|
|
}
|
|
}
|
|
|
|
|
|
export {}
|