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 this annotation in function declarations #56

Merged
merged 1 commit into from
Oct 14, 2018

Conversation

lgeiger
Copy link
Contributor

@lgeiger lgeiger commented Oct 13, 2018

flow doesn't have support for this annotation in functions: facebook/flow#452

This will result in prettier failing to parse the generated code. This PR removes the this annotation in function declarations.

flow doesn't have support for [`this` annotation](https://www.typescriptlang.org/docs/handbook/functions.html) in functions: facebook/flow#452

This will result in prettier failing to parse the generated code. This PR removes the this annotation in function declarations.
@orta
Copy link
Collaborator

orta commented Oct 14, 2018

👍

@orta orta merged commit cc6dfe2 into joarwilk:master Oct 14, 2018
@lgeiger lgeiger deleted the remove-this-parameter branch October 15, 2018 08:29
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.

2 participants