Skip to content

Conversation

@sliterok
Copy link

You should warn about task id being string in Task constructor itself instead of silently converting, because in TaskTimer.remove() method of it would throw an error in case when user would provide any other type than string.

Either you could edit .remove() method for it to convert id argument to string.

You should warn about task id being string in Task constructor itself instead of silently converting, because in TaskTimer.remove() method of it would throw an error in case when user would provide any other type than string.
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