Skip to content

Type Ids for EventData and Game hashes#283

Open
sparr wants to merge 1 commit intoscreepers:masterfrom
sparr:typed_ids
Open

Type Ids for EventData and Game hashes#283
sparr wants to merge 1 commit intoscreepers:masterfrom
sparr:typed_ids

Conversation

@sparr
Copy link
Copy Markdown

@sparr sparr commented Nov 23, 2025

Brief Description

The hashes in Game for structures and construction sites have typed values. This PR types their keys to IDs for those value types.

This PR also types the objectId (actor) targetId for the various Event types, and adds a couple more lines of tests related to that.

Checklists

  • Test passed
  • Coding style (indentation, etc)
  • Edits have been made to src/ files not index.d.ts
  • Run npm run compile to update index.d.ts

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.

1 participant