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

Generics support? #222

Closed
PerfectionVR opened this issue May 8, 2019 · 2 comments
Closed

Generics support? #222

PerfectionVR opened this issue May 8, 2019 · 2 comments

Comments

@PerfectionVR
Copy link

Would it be possible to support generics?

i.e.

var cookies = new Cookies();
T object = cookies.get<T>('cookieName');
@eXon
Copy link
Collaborator

eXon commented Jul 3, 2019

Yes, I think that's a great idea!

@eXon
Copy link
Collaborator

eXon commented Jul 4, 2019

Supported has been added to support generics on get and getAll on v4.0.1

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

No branches or pull requests

2 participants