-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
Typescript example? #632
Comments
Not quite sure, I'm not using TS, there was definitions file added a while ago, but I haven't checked that in a while. https://github.com/websanova/vue-auth/blob/master/types/index.d.ts Maybe start there? |
@websanova Thanks! Unfortunately I'm still learning TS, it seems a few things are missing from the types (createAuth, drivers, etc.), but I'm not that well knowledge about what should be defined, sorry. |
ya, I think it just needs a few minor updates, should be able to follow what's there if you need to get it working right away. |
I'm also interested in a typescript example. |
@abraxxa Well there is one right there in the repo, as mentioned above it may have some minor issues from some recent updates. |
Are you referring to the index.d.ts file? |
I'm still struggling to get this working. |
Results in a lot of TypeScript errors:
I know this is written in JavaScript, I'm just searching for a workaround for these issues. I'm unable to add ignore the file as it isn't allowed and it's best practice. Do you have any good ideas? :)
Thanks!
The text was updated successfully, but these errors were encountered: