Type Alias ConstructableModuleWrapper<TWrapper>

ConstructableModuleWrapper: {
    defaultLogger?: Logger;
    instanceIdentityCheck: InstanceTypeCheck;
    moduleIdentityCheck: ModuleTypeCheck;
    requiredQueries: string[];
    canWrap(mod: undefined | Module): boolean;
    is<TModuleWrapper extends ModuleWrapper>(
        this: ConstructableModuleWrapper<TModuleWrapper>,
        wrapper?: any,
    ): wrapper is TModuleWrapper;
    tryWrap<TModuleWrapper extends ModuleWrapper>(
        this: ConstructableModuleWrapper<TModuleWrapper>,
        mod: undefined | Module,
        account: AccountInstance,
        checkIdentity?: boolean,
    ): undefined | TModuleWrapper;
    wrap<TModuleWrapper extends ModuleWrapper>(
        this: ConstructableModuleWrapper<TModuleWrapper>,
        mod: undefined | Module,
        account: AccountInstance,
        checkIdentity?: boolean,
    ): TModuleWrapper;
    new (params: ModuleWrapperParams<TWrapper["mod"]>): TWrapper;
}

Type Parameters

Type declaration