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

Widen typing for Layout children to 'any' #1572

Conversation

jasonvasquez
Copy link
Contributor

@jasonvasquez jasonvasquez commented Jul 5, 2017

Proposed fix for #1542 . See microsoft/TypeScript#13618 for additional details as well, TS doesn't appear to have a good solve for this issue at this time. For now, this change widens the requirement for Layout children to be an any.

It's not ideal, but does allow react-toolbox to be used with TS 2.3 and 2.4, where this did not work previously.

EDIT: Targeting agnostic-typescript, as this appears to be the current branch npm releases are coming from, but I could be mistaken. Let me know and I can re-target.

@javivelasco
Copy link
Member

Actually I'm getting agnostic-typescript branch as a mirror of dev plus some experiences that should be eventually merged so I'd rather make the PR to dev if possible :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants