• Blog
  • Changelog
  • Follow us on GitHubFollow us on XJoin our Discord server
  • Blog
  • GitHub
  • Releases
  • Getting started

    • Overview
  • Library

    • Getting started
    • Result
    • Task
    • Type
    • Dependency injection
    • Conventions
  • Local-first

    • Getting started
    • Playgrounds
    • Examples
    • Owners
    • Relay
    • Migrations
    • Time travel
    • Indexes
    • Protocol
    • Privacy
    • FAQ
  • Other

    • API reference
    • Comparison
    • Showcase
    • Changelog

API reference / @evolu/common / Object / ReadonlyRecord

Type Alias: ReadonlyRecord<K, V>

type ReadonlyRecord<K, V> = Readonly<Record<K, V>>;

Defined in: packages/common/src/Object.ts:22

A read-only Record<K, V> with K extends keyof any to preserve branded key types (e.g., in mapObject).

Type Parameters

Type Parameter
K extends keyof any
V

Was this page helpful?

© Copyright 2026. All rights reserved.

Follow us on GitHubFollow us on XJoin our Discord server