-
Notifications
You must be signed in to change notification settings - Fork 97
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
app: switch to typescript #1534
Conversation
Change all files to typescript and enforce typing during builds. Shared types are defined in registry.ts.
this.candleChart.setCandles(cache, cfg) | ||
this.candleChart.setCandles(cache, cfg, baseUnitInfo, quoteUnitInfo) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to have been a bug.
if (baseWallet.available < mkt.cfg.lotsize) { | ||
if (baseWallet.balance.available < mkt.cfg.lotsize) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to have also been a bug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is very exciting work!
This is not a proper review, just some comments in scanning through the overall changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Will be much nicer to work on the UI from now on.
What do you think about turning strictNullChecks
on? There will be many errors to fix.. I can give it a shot in another PR if you don't want to. I think it can be a pain sometimes, but it will make things a lot safer.
Change all files to typescript and enforce typing during builds. Shared types are defined in registry.ts.