Compare commits

..

No commits in common. "c5d761b3ae2700a68a142103f43b06f7d5c2de0a" and "ae9c6eeb60cd5e350012c3e393ff8b846326e468" have entirely different histories.

2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -37,7 +37,7 @@ export class Client {
}
}
export async function load(module) {
if (callModule && connectModule) {
if (callModule !== null && connectModule !== null) {
if (module) {
return {
callModule: callModule.bind(undefined, module),

View File

@ -76,7 +76,7 @@ export abstract class Client {
export async function load(
module?: string
): Promise<ModuleBag | ModuleBagBound> {
if (callModule && connectModule) {
if (callModule !== null && connectModule !== null) {
if (module) {
return {
callModule: callModule.bind(undefined, module),