The bare local marker — Hyperlink.local used without (). Valid only inside a
fromService contract, where the service interface at that key supplies its type. Using it
where no type can be resolved is a compile error (see fromService).
export interface BareLocal {
readonly [const LocalMethodTypeId: "~hyperlink-ts/Hyperlink/LocalMethod"Identity brand for a
LocalMethod
(Effect-style string TypeId) — distinguishes an off-wire
local member from a wire
Method
.
LocalMethodTypeId]: typeof const LocalMethodTypeId: "~hyperlink-ts/Hyperlink/LocalMethod"Identity brand for a
LocalMethod
(Effect-style string TypeId) — distinguishes an off-wire
local member from a wire
Method
.
LocalMethodTypeId;
readonly [const bareLocalSym: typeof bareLocalSymBrand marking the bare
local
value (used without ()): a valid
LocalMethod
whose element type is supplied by the service interface position in a
fromService
contract.
Distinct from a called local<T>() so the contract can reject a bare local that has no interface
type to resolve from.
bareLocalSym]: true;
}