Skip to content

Remove some unneeded 'any' #1448

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

Merged
merged 1 commit into from
Aug 5, 2018
Merged

Conversation

IvanGoncharov
Copy link
Member

No description provided.

@@ -139,8 +139,7 @@ export class TypeInfo {
return this._enumValue;
}

// Flow does not yet handle this case.
enter(node: any /* ASTNode */) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Flow now support this case 🎉

Copy link
Contributor

@mjmahone mjmahone left a comment

Choose a reason for hiding this comment

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

This is great! Glad we'll be able to catch List/NonNull construction issues via flow rather than at runtime!

@IvanGoncharov IvanGoncharov merged commit c3292db into graphql:master Aug 5, 2018
@IvanGoncharov IvanGoncharov deleted the removeAny branch August 6, 2018 12:34
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.

3 participants