mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
passport-local-mongoose: Fix error in typescript@next (#17058)
This commit is contained in:
parent
261cdecc96
commit
2baab8780c
@ -31,13 +31,13 @@ interface User extends PassportLocalDocument {
|
||||
last: Date;
|
||||
}
|
||||
|
||||
const UserSchema: PassportLocalSchema = new Schema({
|
||||
const UserSchema = new Schema({
|
||||
username: String,
|
||||
hash: String,
|
||||
salt: String,
|
||||
attempts: Number,
|
||||
last: Date
|
||||
});
|
||||
}) as PassportLocalSchema;
|
||||
|
||||
let options: PassportLocalOptions = <PassportLocalOptions>{};
|
||||
options.iterations = 25000;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user