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

new rule: no-invalid-assertion #179

Merged
merged 7 commits into from
Apr 16, 2018
Merged

new rule: no-invalid-assertion #179

merged 7 commits into from
Apr 16, 2018

Conversation

ajafff
Copy link
Member

@ajafff ajafff commented Apr 10, 2018

Checklist

Overview of change

Disallow asserting a literal type to a different literal type of the same widened type: microsoft/TypeScript#14156

TODO: determine if the current handling of union types is desired.

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.

1 participant