mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2026-03-22 09:17:14 +00:00
fit error TS2559: Type '4' has no properties in common with type 'MinMaxOptions'.
fix err TypeScript-Node-Starter/src/controllers/api.ts[6, 9]: missing whitespace, 8 files fix bugs of issue 15
This commit is contained in:
@@ -6,7 +6,7 @@ import * as _ from "lodash";
|
||||
|
||||
// import { User, UserType } from '../models/User';
|
||||
import { default as User } from "../models/User";
|
||||
import {Request, Response, NextFunction} from "express";
|
||||
import { Request, Response, NextFunction } from "express";
|
||||
|
||||
const LocalStrategy = passportLocal.Strategy;
|
||||
const FacebookStrategy = passportFacebook.Strategy;
|
||||
|
||||
Reference in New Issue
Block a user