Variable asModuleInstanceConst
asModuleInstance: { < TType extends ModuleInstance< BaseParamsFields & { account?: AccountInstance | "random"; additionalSigners?: AccountInstance[]; addToResolvers?: boolean; allowNameResolution?: boolean; config: AnyConfigSchema<ModuleConfig>; ephemeralQueryAccountEnabled?: boolean; moduleIdentifierTransformers?: ModuleIdentifierTransformer[]; privateChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)
[]; publicChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)
[]; }, ModuleEventData<object>, >, >( value: AnyNonPromise, config?: TypeCheckConfig, ): undefined | TType; < TType extends ModuleInstance< BaseParamsFields & { account?: AccountInstance | "random"; additionalSigners?: AccountInstance[]; addToResolvers?: boolean; allowNameResolution?: boolean; config: AnyConfigSchema<ModuleConfig>; ephemeralQueryAccountEnabled?: boolean; moduleIdentifierTransformers?: ModuleIdentifierTransformer[]; privateChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)
[]; publicChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)
[]; }, ModuleEventData<object>, >, >( value: AnyNonPromise, assert: StringOrAlertFunction< ModuleInstance< BaseParamsFields & { account?: AccountInstance | "random"; additionalSigners?: AccountInstance[]; addToResolvers?: boolean; allowNameResolution?: boolean; config: AnyConfigSchema<ModuleConfig>; ephemeralQueryAccountEnabled?: boolean; moduleIdentifierTransformers?: ModuleIdentifierTransformer[]; privateChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)
[]; publicChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)
[]; }, ModuleEventData<object>, >, >, config?: TypeCheckConfig, ): TType;} = ... Type declaration
- <
TType extends
ModuleInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: AnyConfigSchema<ModuleConfig>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
privateChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
publicChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
},
ModuleEventData<object>,
>,
>(
value: AnyNonPromise,
config?: TypeCheckConfig,
): undefined | TType Type Parameters
- TType extends ModuleInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: AnyConfigSchema<ModuleConfig>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
privateChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
publicChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
},
ModuleEventData<object>,
>
Returns undefined | TType
- <
TType extends
ModuleInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: AnyConfigSchema<ModuleConfig>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
privateChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
publicChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
},
ModuleEventData<object>,
>,
>(
value: AnyNonPromise,
assert: StringOrAlertFunction<
ModuleInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: AnyConfigSchema<ModuleConfig>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
privateChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
publicChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
},
ModuleEventData<object>,
>,
>,
config?: TypeCheckConfig,
): TType Type Parameters
- TType extends ModuleInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: AnyConfigSchema<ModuleConfig>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
privateChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
publicChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
},
ModuleEventData<object>,
>
Parameters
- value: AnyNonPromise
- assert: StringOrAlertFunction<
ModuleInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: AnyConfigSchema<ModuleConfig>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
privateChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
publicChildren?: (
ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>
)[];
},
ModuleEventData<object>,
>,
> Optional
config: TypeCheckConfig