Skip to content

passport-local-mongoose: Fix error in typescript@next#17058

Merged
mhegazy merged 1 commit intomasterfrom
passport-local-mongoose
Jun 8, 2017
Merged

passport-local-mongoose: Fix error in typescript@next#17058
mhegazy merged 1 commit intomasterfrom
passport-local-mongoose

Conversation

@ghost
Copy link

@ghost ghost commented Jun 8, 2017

It doesn't really make sense for Schema to be assignable to PassportLocalSchema which extends from it.
Error caught thanks to microsoft/TypeScript#15104.
CC @linusbrolin

@mhegazy mhegazy merged commit 2baab87 into master Jun 8, 2017
@mhegazy mhegazy deleted the passport-local-mongoose branch June 8, 2017 22:11
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

Successfully merging this pull request may close these issues.

1 participant