Files
create-bot/dependencies.d.txt
Jacob Nguyen 6a327e8203 1.9.1
2024-07-18 18:30:19 -05:00

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 {}