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

Update Ember tests to treat 'string & number' and 'never' the same #36095

Merged
merged 2 commits into from
Jun 11, 2019

Conversation

ahejlsberg
Copy link
Collaborator

@ahejlsberg ahejlsberg commented Jun 10, 2019

In preparation for microsoft/TypeScript#31838 this modifies Ember's tests to treat empty intersection types like string & number the same as never.

@typescript-bot
Copy link
Contributor

typescript-bot commented Jun 10, 2019

@ahejlsberg Thank you for submitting this PR!

🔔 @jedmao @bttf @dwickern @chriskrycho @theroncross @mfeckie @alexlafroscia @mike-north @BryanCrotaz - please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

If no reviewer appears after a week, a DefinitelyTyped maintainer will review the PR instead.

@typescript-bot
Copy link
Contributor

@ahejlsberg The Travis CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Copy link
Contributor

@mike-north mike-north left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for these updates! We'll replace these with some more meaningful tests as a follow-on PR

@ahejlsberg ahejlsberg merged commit fa812c2 into master Jun 11, 2019
@ahejlsberg ahejlsberg deleted the ember-fix-empty-intersection-tests branch June 11, 2019 16:32
iRON5 pushed a commit to iRON5/DefinitelyTyped that referenced this pull request Aug 13, 2019
…efinitelyTyped#36095)

* Update tests to treat 'string & number' and 'never' the same

* Remove $ExpectType since both 'string & number' or 'never' are ok
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.

3 participants