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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more type definitions #882
Conversation
ouch, sorry to stumble upon your feet, but note that in PR #881 I'm doing (yet another 馃槄) heavy refactoring which among the other things kills a lot of code, include some which was also touched by you. |
Haha no worries! I'll wait for that PR to be in and rebase on it 馃槃 |
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.
Types! 馃ぉ
I'm waiting for #884 to get in before I rebase 馃槃 |
Nice PR! Thanks @FabioRosado
.... yet 馃槅 |
@FabioRosado this should be rebased now since #884 is merged now 馃槄 |
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.
Rebase required 馃槄
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.
@FabioRosado Yours to merge when the tests pass :)
Thanks @madhur-tandon I can't merge it though 馃槃 Just ran |
Whenever you are ready 馃挴 |
@@ -1,4 +1,4 @@ | |||
import { addClasses, htmlDecode, ensureUniqueId } from '../utils'; |
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.
@antocuni just checking, should pytitle call ensureUniqueId
as well?
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.
I think that py-title
should die in flames 馃槄.
Looking at the code I think it should because it's indeed using this.id
.
But on the other hand, I don't think that the id is used for anything useful, so we could just avoid using it.
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.
Haha removing things is always fun!
Awesome I just wanted to be sure that I didn't removed something that we would use in the future 馃榾
There are still about 71 warnings but a lot of them are coming from pyodide since most of the methods are typed upstream as |
Awesome work |
I started adding some types in an effort to fix #834 but Jeff discovered the issue and fixed it 馃槃
This PR adds a bit of typing across the board - I'm still learning how to use the more advanced features of typescript, so there are some changes that I am unsure of 馃
Also I'm not entirely sure if we should replace some/all of these
any
forunknown