Skip to main content

LatestMapFactory Interface

Factory for creating a LatestMap or LatestMapRaw State object.

Sealed

This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.

Signature

/** @sealed */
export interface LatestMapFactory

Call Signatures

Call SignatureReturn TypeDescription
<T, Keys extends string = string, RegistrationKeyRestrictions extends string = string>(args: LatestMapArguments<T, Keys>): LatestMapConfiguration<T, Keys, RegistrationKeyRestrictions>LatestMapConfiguration<T, Keys, RegistrationKeyRestrictions>Factory for creating a LatestMap State object.
<T, Keys extends string = string, RegistrationKeyRestrictions extends string = string>(args?: LatestMapArgumentsRaw<T, Keys>): LatestMapRawConfiguration<T, Keys, RegistrationKeyRestrictions>LatestMapRawConfiguration<T, Keys, RegistrationKeyRestrictions>Factory for creating a LatestMapRaw State object.

Call Signature Details

<T, Keys extends string = string, RegistrationKeyRestrictions extends string = string>(args: LatestMapArguments<T, Keys>): LatestMapConfiguration<T, Keys, RegistrationKeyRestrictions>

Factory for creating a LatestMap State object.

Signature

<T, Keys extends string = string, RegistrationKeyRestrictions extends string = string>(args: LatestMapArguments<T, Keys>): LatestMapConfiguration<T, Keys, RegistrationKeyRestrictions>;
Type Parameters
ParameterConstraintDefaultDescription
T
Keysstringstring
RegistrationKeyRestrictionsstringstring

Remarks

This overload is used when called with LatestMapArguments. That is, if a validator function is provided.

<T, Keys extends string = string, RegistrationKeyRestrictions extends string = string>(args?: LatestMapArgumentsRaw<T, Keys>): LatestMapRawConfiguration<T, Keys, RegistrationKeyRestrictions>

Factory for creating a LatestMapRaw State object.

Signature

<T, Keys extends string = string, RegistrationKeyRestrictions extends string = string>(args?: LatestMapArgumentsRaw<T, Keys>): LatestMapRawConfiguration<T, Keys, RegistrationKeyRestrictions>;
Type Parameters
ParameterConstraintDefaultDescription
T
Keysstringstring
RegistrationKeyRestrictionsstringstring

Remarks

This overload is used when called with LatestMapArgumentsRaw. That is, if a validator function is _not_ provided.