-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 TypeScript support #545
Conversation
Resolves #559
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.
++
"react": "^16.2.0", | ||
"react-dnd": "^2.5.4", | ||
"react-dnd-html5-backend": "^2.5.4", | ||
"react-dnd": "^5.0.0", |
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.
side note: for the future let's avoid bumping major versions together with PR proposal as it makes much harder to review as we need to manually test these functionalities too.
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.
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.
downgrading to current version fixed the issue.
since brave/brave-core#253 depends on this PR I'm blocking/requesting changes on this.
I follow react-dnd closely and see that it's rewritten in TS so If above PR somehow solves this let's bump this dependency in a follow-up. Otherwise lgtm
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 tested it out again and it's working for me. Maybe you have something cached. I bumped versions, because there were some problems with typing and compiling. Can you please try again?
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.
ok @yrliou just confirmed it's working for her too so it's something cached I'm seeing. I'm changing feedback/merging after. thanks
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.
approving after #545 (comment)
Resolves #559
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist: