-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
Typescript conversion of parse5 package #359
Conversation
This is a hefty one. The parse5 package has been moved to typescript, other than tests. A small summary: - `@typescript-eslint` introduced for the parse5 package - Mixins reworked slightly to be strongly typed - Default tree adapter is an instance of a class now - A few weeks worth of other changes to get it building
Hi @43081j, great effort! I have already completed a TS port at https://github.com/parse5/parse5-fork, plus a lot of other quality of life improvements & bug fixes. I've invited you to the org in the past, let me know if you're interested in using that as a starting point. Quite unfortunate that conversion efforts were duplicated here :/ |
yeah very unfortunate. its in a single commit really, which was started a few months ago so i doubt there was any chance we would've crossed paths. there's a fair amount of stronger types in my branch than in yours, i've seen. if anything, i'd suggest you read through mine. meanwhile i'll have a think about what should happen with this as i feel like both branches have their good parts. |
All other packages have been left as-is.
I am not expecting this PR to ever land, it is more here as reference (or something?) until we decide what to do about the path forward (potentially a fork).
@fb55 sorry it took me so long to respond to you in the other PR. this is what I was busy doing meanwhile. it'll need somewhere to live, so we should find a place to discuss this since you seem the most willing to maintain a fork.