fixed export errors

This commit is contained in:
jacoobes
2022-01-29 08:20:49 -06:00
parent 4d85c8928a
commit 2e352ebf0c
2 changed files with 5 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ import type { Utils } from "../utils/preprocessors/args";
export namespace Sern {
export class Handler {
private wrapper: Sern.Wrapper;
private msgHandler : MsgHandler = new MsgHandler();
@@ -74,6 +75,8 @@ export namespace Sern {
delegate : (message: Message, args: Ok<T> ) => Awaitable<Result<possibleOutput, string > | void>
parse? : (message: Message, args: string) => Utils.ArgType<T>
}
}
class MsgHandler {

View File

@@ -1,6 +1,5 @@
import { Sern } from "./handler/sern/sern";
import { Utils } from "./handler/utils/preprocessors/args"
module.exports.Sern = Sern;
module.exports.Utils = Utils;
export default { Sern, Utils };
module.exports = { Sern, Utils };
export { Sern, Utils };