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

Remove useless constraint #1306

Merged
merged 1 commit into from Mar 31, 2019
Merged

Remove useless constraint #1306

merged 1 commit into from Mar 31, 2019

Conversation

weswigham
Copy link
Contributor

@weswigham weswigham commented Mar 30, 2019

I found this while testing DefinitelyTyped against microsoft/TypeScript#30637.

Fixing microsoft/TypeScript#30634 will make this constraint fail to check for most users - this type seems to have been copied from (to?) react-redux, which has taken in a similar change on DT:

DefinitelyTyped/DefinitelyTyped#34335
DefinitelyTyped/DefinitelyTyped#34339

The constraint on DecorationTargetProps was circularly defined anyway so despite not having an error (due to deferral in the mapped type of Shared), it never actually had an effective constraint.

Fixing microsoft/TypeScript#30634 will make this constraint fail to check for most users - this type seems to have been copied from (to?) `react-redux`, which has taken in a similar change on DT:

DefinitelyTyped/DefinitelyTyped#34335
DefinitelyTyped/DefinitelyTyped#34339
@darthtrevino
Copy link
Member

I did copy the structure here from react-redux. Thanks for the pr!

@darthtrevino darthtrevino merged commit e8fab37 into react-dnd:master Mar 31, 2019
@weswigham weswigham deleted the patch-1 branch March 31, 2019 19:19
darthtrevino pushed a commit that referenced this pull request Feb 3, 2022
Fixing microsoft/TypeScript#30634 will make this constraint fail to check for most users - this type seems to have been copied from (to?) `react-redux`, which has taken in a similar change on DT:

DefinitelyTyped/DefinitelyTyped#34335
DefinitelyTyped/DefinitelyTyped#34339
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.

None yet

2 participants