-
Notifications
You must be signed in to change notification settings - Fork 9
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
Issue setting up Strategy [in TypeScript] #25
Comments
Thanks for the report. It's possible the current CommonJS exports have some troubles with TypeScript since I focused on keeping the backwards compatibility of default + named export. Could you please add a rest of your example? Notably, are you using |
I am working on a Nest JS project.
|
I can confirm that there is an issue in TypeScript support. I have opened PR with fixes. |
@JackLit, @Push-Stack We've just released @superfaceai/passport-twitter-oauth2 v1.2.1 with TypeScript fixes. |
I am using @superfaceai/passport-twitter-oauth2@1.2.2 and continue to have this problem. |
@kazuemon Thanks for the report. I will reopen this issue. I see three options how to address it:
Just that types package adds 3,5 MB install size which is why I'm not quite happy with slapping it on as an extra dependency. |
I decided to go with |
Hey folks, I've released v1.2.3 with optional |
Hello, I am trying to setup an app to use this package but I am having issues setting the Strategy; specifically the following:
I have most commonly seen 2 errors between trying different things to resolve the issues:
1.
I will add that I am using typescript (not sure if that should be causing these issues though) and I am working off the example code here
Thanks in advance for any help!!
The text was updated successfully, but these errors were encountered: