Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Rect, ReactDOM typings #5

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

koutoftimer
Copy link

Sooner or later one would like to extend game with some custom UI and using already existed framework: React, is very handy. Plus you don't need a lot of effort, just include typings and tell tsc to produce plain js (not jsx). Typing versions are taken from game's repo. Maybe it will be better to sync versions via script similar to updateDefs.js.

This example have to requirements and suppposed to approve ability
to use React for your custom UI. It is not well suitable for real
world problems.
It contains out of topic code but illustrates handier usage
kateract pushed a commit to kateract/bitburner-scripts that referenced this pull request May 7, 2023
Ensure filesync is always latest version.
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