Skip to content

Fix all TS errors#810

Open
zorgjbe wants to merge 7 commits intolittlesera:devfrom
zorgjbe:fix/errors
Open

Fix all TS errors#810
zorgjbe wants to merge 7 commits intolittlesera:devfrom
zorgjbe:fix/errors

Conversation

@zorgjbe
Copy link
Copy Markdown
Contributor

@zorgjbe zorgjbe commented Apr 30, 2026

This brings down all of the TS errors to 0. Completely untested, but most of those are just twiddling types or adding casts.

The more intrusive one would be Cleanup the CustomAction interface so we don't pass down hook handlers 'cause I didn't like passing down those hook next, args pairs down all over the place.

zorgjbe added 7 commits April 30, 2026 02:39
- cast around the ActivityName/LSCGActivityName hook types
- swap .indexOf for .includes
- remove unnecessary `!!`s
- make sure all items grabbed from `InventoryGet` are checked
Instead, pass down the data and metadata from the about-to-be-sent
message, and update all handlers to either let the message out, or skip
altogether. This lets all said handler skip having to do another round
of message extraction as well.
@zorgjbe
Copy link
Copy Markdown
Contributor Author

zorgjbe commented Apr 30, 2026

This was all in search of the updateQAPanel crash people have been reporting, but sadly, no dice just looking at it. So either it's people running without MBS's hotfix, said hotfix is incorrect, or there's really a case where this function gets passed null (or a null-like object, since the 2nd "recursive" call ends up making a new reference which I thought might happen on CharacterDelete but actually doesn't).

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