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

Can't import PassportStrategy from @nestjs/passport #2

Closed
d-yokoi opened this issue May 1, 2018 · 1 comment
Closed

Can't import PassportStrategy from @nestjs/passport #2

d-yokoi opened this issue May 1, 2018 · 1 comment

Comments

@d-yokoi
Copy link

d-yokoi commented May 1, 2018

I'm submitting a...


[ ] Regression 
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current Behavior

  • Install the package
npm install @nestjs/passport
  • Importing something from the package results in an error.
import { PassportStrategy } from '@nestjs/passport';
[ts]
Could not find a declaration file for module '@nestjs/passport'.
...@nestjs/passport/index.js' implicitly has an 'any' type.

Environment

"@nestjs/passport": "^1.0.2",
@kamilmysliwiec
Copy link
Member

Fixed in v1.0.5

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