Skip to content

Fix TypeScript errors#1452

Open
ExE-Boss wants to merge 3 commits intotobspr-games:masterfrom
ExE-Boss:fix-typescript-errors
Open

Fix TypeScript errors#1452
ExE-Boss wants to merge 3 commits intotobspr-games:masterfrom
ExE-Boss:fix-typescript-errors

Conversation

@ExE-Boss
Copy link
Copy Markdown

I also had to upgrade TypeScript because mods/mod_interface.js uses features that are only available since TypeScript 4.21:
https://github.com/tobspr/shapez.io/blob/99b56880398e53f9469eab4ae6ced8857cafb756/src/js/mods/mod_interface.js#L50-L59

This also necessitated upgrading @types/filesystem, since there was a type definition conflict in the FileSystem interface with TypeScript 4.4’s built‑in type definitions2.

Footnotes

  1. https://github.com/microsoft/TypeScript/pull/41544

  2. https://github.com/DefinitelyTyped/DefinitelyTyped/pull/54046

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