<Self>(id: string): <Args>(
...args: Args
) => IsSingleStoreInput<InputOfArgs<Args>> extends true
? SingleStoreTagClass<
Self,
string,
ContractForSingleInput<InputOfArgs<Args>>
>
: StoreTagClass<Self, string, RegsOfStoreInput<InputOfArgs<Args>>>Like Service without layers — registration descriptor for remote clients.
constructorsService
Source src/Store.ts:14682 lines
export const const Tag: <Self>(
id: string
) => <const Args extends ReadonlyArray<unknown>>(
...args: Args
) => IsSingleStoreInput<
InputOfArgs<Args>
> extends true
? SingleStoreTagClass<
Self,
string,
ContractForSingleInput<InputOfArgs<Args>>
>
: StoreTagClass<
Self,
string,
RegsOfStoreInput<InputOfArgs<Args>>
>
Like
Service
without layers — registration descriptor for remote clients.
Tag = <function (type parameter) Self in <Self>(id: string): <Args>(...args: Args) => IsSingleStoreInput<InputOfArgs<Args>> extends true ? SingleStoreTagClass<Self, string, ContractForSingleInput<...>> : StoreTagClass<...>Self>(id: stringid: string) =>
defineStoreTag<Self, string>(id: string): <Args>(...args: Args) => IsSingleStoreInput<InputOfArgs<Args>> extends true ? SingleStoreTagClass<Self, string, ContractForSingleInput<InputOfArgs<Args>>> : StoreTagClass<Self, string, RegsOfStoreInput<InputOfArgs<Args>>>defineStoreTag<function (type parameter) Self in <Self>(id: string): <Args>(...args: Args) => IsSingleStoreInput<InputOfArgs<Args>> extends true ? SingleStoreTagClass<Self, string, ContractForSingleInput<...>> : StoreTagClass<...>Self, typeof id: stringid extends string ? typeof id: stringid : never>(id: stringid);