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

Fix: API constants should explicit their type #455

Merged
merged 1 commit into from Jun 2, 2018
Merged

Conversation

hsanjuan
Copy link
Collaborator

@hsanjuan hsanjuan commented Jun 1, 2018

Otherwise, they are int. This forces API users to do manual variable
type declaration when initializing something to one of these constants

License: MIT
Signed-off-by: Hector Sanjuan code@hector.link

Otherwise, they are int. This forces API users to do manual variable
type declaration when initializing something to one of these constants

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
@hsanjuan hsanjuan requested a review from lanzafame June 1, 2018 15:28
@ghost ghost assigned hsanjuan Jun 1, 2018
@ghost ghost added the status/in-progress In progress label Jun 1, 2018
@hsanjuan hsanjuan mentioned this pull request Jun 1, 2018
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 68.117% when pulling 218ee02 on fix/api-consts into f7b9fa5 on master.

Copy link
Contributor

@lanzafame lanzafame left a comment

Choose a reason for hiding this comment

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

Not sure how I missed that...

@hsanjuan
Copy link
Collaborator Author

hsanjuan commented Jun 2, 2018

Same way I've missed it for 2 years...

@hsanjuan hsanjuan merged commit fa4ddca into master Jun 2, 2018
@hsanjuan hsanjuan deleted the fix/api-consts branch June 2, 2018 08:21
@ghost ghost removed the status/in-progress In progress label Jun 2, 2018
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.

None yet

3 participants