changing default generic for module

This commit is contained in:
jacoobes
2022-02-10 08:46:28 -06:00
parent 93a583acb2
commit 8e37d4d9a7

View File

@@ -147,9 +147,11 @@ export interface Wrapper {
readonly privateServers: {test: boolean, id : string}[],
}
/**
* @interface - Modules that are used in command files
* An object to be passed into Sern.Handler constructor.
* @typedef {object} Module<T=string>
*
*/
export interface Module<T = void> {
export interface Module<T = string> {
alias: string[],
desc: string,
visibility: Visibility,