asModule: { < TType extends Module< BaseParamsFields & { account?: AccountInstance | "random"; additionalSigners?: AccountInstance[]; addToResolvers?: boolean; allowNameResolution?: boolean; config: AnyConfigSchema; ephemeralQueryAccountEnabled?: boolean; moduleIdentifierTransformers?: ModuleIdentifierTransformer[]; privateChildren?: ModuleInstance[]; publicChildren?: ModuleInstance[]; }, ModuleEventData<object>, >, >( value: AnyNonPromise, config?: TypeCheckConfig, ): undefined | TType; < TType extends Module< BaseParamsFields & { account?: AccountInstance | "random"; additionalSigners?: AccountInstance[]; addToResolvers?: boolean; allowNameResolution?: boolean; config: AnyConfigSchema; ephemeralQueryAccountEnabled?: boolean; moduleIdentifierTransformers?: ModuleIdentifierTransformer[]; privateChildren?: ModuleInstance[]; publicChildren?: ModuleInstance[]; }, ModuleEventData<object>, >, >( value: AnyNonPromise, assert: StringOrAlertFunction< Module< BaseParamsFields & { account?: AccountInstance | "random"; additionalSigners?: AccountInstance[]; addToResolvers?: boolean; allowNameResolution?: boolean; config: AnyConfigSchema; ephemeralQueryAccountEnabled?: boolean; moduleIdentifierTransformers?: ModuleIdentifierTransformer[]; privateChildren?: ModuleInstance[]; publicChildren?: ModuleInstance[]; }, ModuleEventData<object>, >, >, config?: TypeCheckConfig, ): TType;} Type declaration
- <
TType extends
Module<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: AnyConfigSchema;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
privateChildren?: ModuleInstance[];
publicChildren?: ModuleInstance[];
},
ModuleEventData<object>,
>,
>(
value: AnyNonPromise,
config?: TypeCheckConfig,
): undefined | TType Returns undefined | TType
- <
TType extends
Module<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: AnyConfigSchema;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
privateChildren?: ModuleInstance[];
publicChildren?: ModuleInstance[];
},
ModuleEventData<object>,
>,
>(
value: AnyNonPromise,
assert: StringOrAlertFunction<
Module<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: AnyConfigSchema;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
privateChildren?: ModuleInstance[];
publicChildren?: ModuleInstance[];
},
ModuleEventData<object>,
>,
>,
config?: TypeCheckConfig,
): TType