Skip to content

Conversation

@Fdawgs
Copy link
Owner

@Fdawgs Fdawgs commented Nov 20, 2025

Runtime enforcement of readonly; no doubt i'll forget otherwise

Checklist

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a JSDoc type annotation to mark the CACHE_HEADERS constant as readonly, improving type safety and code documentation.

Key Changes:

  • Added @type {Readonly<Record<string, string>>} JSDoc annotation to CACHE_HEADERS constant

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Runtime enforcement of readonly; no doubt i'll forget otherwise
@Fdawgs Fdawgs changed the title chore(index): mark CACHE_HEADERS as readonly refactor(index): freeze CACHE_HEADERS object Nov 20, 2025
@Fdawgs Fdawgs merged commit 31651e8 into main Nov 20, 2025
17 checks passed
@Fdawgs Fdawgs deleted the chore/index branch November 20, 2025 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants