---
title: "Map Over Object"
description: "Apply a function to each key-value pair in an object in TypeScript."
date: "2025-10-02"
tags: ["typescript","object","map","frontend"]
canonical: "/snippets/typescript/object/map-object"
---

import { Code } from '@astrojs/starlight/components'
import Source from './map-object.ts?raw'

## Map Over Object

<Code code={Source} lang="ts" title="map-object.ts" wrap />
