Hyperlinkv0.8.0-beta.28

ShardMap

Source src/ShardMap.ts:25713 lines
export type ShardMapNodeTag<
  Self,
  HSelf,
  Key extends Schema.Top,
  Value extends Schema.Top,
  Error extends Schema.Top = typeof Schema.Never,
> = NodeBoundTag<Self, ShardMapSpecOf<Key, Value, Error>, HSelf> & {
  readonly [internal.keySchemaSym]: Key;
  readonly [internal.valueSchemaSym]: Value;
  readonly [internal.keyOfSym]: (
    value: Schema.Schema.Type<Value>,
  ) => Schema.Schema.Type<Key>;
};