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

Error should be thrown if you call a constructor without new #32

Open
typerandom opened this issue Oct 5, 2016 · 0 comments
Open

Error should be thrown if you call a constructor without new #32

typerandom opened this issue Oct 5, 2016 · 0 comments

Comments

@typerandom
Copy link
Contributor

typerandom commented Oct 5, 2016

Currently when calling Jwt() it acts the same way as new Jwt(). Instead of returning a new instance of Jwt calling Jwt() without new should throw an error.

@typerandom typerandom changed the title Error if you call a constructor without new Error should be thrown if you call a constructor without new Oct 5, 2016
@robertjd robertjd added the 1.0 label Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants