Variable asModuleObjectConst
asModuleObject: { < TType extends Module< 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<object>, >[]; publicChildren?: ModuleInstance< (
BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }
)
, ModuleEventData<object>, >[]; }, ModuleEventData<object>, >, >( value: AnyNonPromise, config?: TypeCheckConfig, ): undefined | TType; < TType extends Module< 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<object>, >[]; publicChildren?: ModuleInstance< (
BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }
)
, ModuleEventData<object>, >[]; }, ModuleEventData<object>, >, >( value: AnyNonPromise, assert: StringOrAlertFunction< Module< 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<object>, >[]; publicChildren?: ModuleInstance< (
BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }
)
, ModuleEventData<object>, >[]; }, ModuleEventData<object>, >, >, config?: TypeCheckConfig, ): TType;} = ... Type declaration
- <
TType extends
Module<
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<object>,
>[];
publicChildren?: ModuleInstance<
(
BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }
),
ModuleEventData<object>,
>[];
},
ModuleEventData<object>,
>,
>(
value: AnyNonPromise,
config?: TypeCheckConfig,
): undefined | TType Type Parameters
- TType extends Module<
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<object>,
>[];
publicChildren?: ModuleInstance<
(
BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }
),
ModuleEventData<object>,
>[];
},
ModuleEventData<object>,
>
Returns undefined | TType
- <
TType extends
Module<
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<object>,
>[];
publicChildren?: ModuleInstance<
(
BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }
),
ModuleEventData<object>,
>[];
},
ModuleEventData<object>,
>,
>(
value: AnyNonPromise,
assert: StringOrAlertFunction<
Module<
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<object>,
>[];
publicChildren?: ModuleInstance<
(
BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }
),
ModuleEventData<object>,
>[];
},
ModuleEventData<object>,
>,
>,
config?: TypeCheckConfig,
): TType Type Parameters
- TType extends Module<
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<object>,
>[];
publicChildren?: ModuleInstance<
(
BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }
),
ModuleEventData<object>,
>[];
},
ModuleEventData<object>,
>