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: BaseParamsFields & {
            account: AccountInstance;
            additionalSigners?: AccountInstance[];
            mod: TWrappedModule;
        },
    ): TWrapper;
}

Type Parameters

Type declaration