diff --git a/src/index.ts b/src/index.ts index 64c0935..1dc2b0a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -76,7 +76,7 @@ export abstract class Client { export async function load( module?: string ): Promise { - if (callModule !== null && connectModule !== null) { + if (callModule && connectModule) { if (module) { return { callModule: callModule.bind(undefined, module),