Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 5472454

Browse files
committed
fix: fix for tslint
1 parent d6d880c commit 5472454

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

src/config/passport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as _ from "lodash";
66

77
// import { User, UserType } from '../models/User';
88
import { default as User } from "../models/User";
9-
import {Request, Response, NextFunction} from "express";
9+
import { Request, Response, NextFunction } from "express";
1010

1111
const LocalStrategy = passportLocal.Strategy;
1212
const FacebookStrategy = passportFacebook.Strategy;

src/controllers/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import * as async from "async";
44
import * as request from "request";
55
import * as graph from "fbgraph";
6-
import {Response, Request, NextFunction} from "express";
6+
import { Response, Request, NextFunction } from "express";
77

88

99
/**

src/controllers/contact.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as nodemailer from "nodemailer";
2-
import {Request, Response} from "express";
2+
import { Request, Response } from "express";
33

44
const transporter = nodemailer.createTransport({
55
service: "SendGrid",

src/controllers/home.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Request, Response} from "express";
1+
import { Request, Response } from "express";
22

33
/**
44
* GET /
@@ -9,4 +9,3 @@ export let index = (req: Request, res: Response) => {
99
title: "Home"
1010
});
1111
};
12-

src/controllers/user.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import * as async from "async";
22
import * as crypto from "crypto";
33
import * as nodemailer from "nodemailer";
44
import * as passport from "passport";
5-
import {default as User, UserModel, AuthToken} from "../models/User";
6-
import {Request, Response, NextFunction} from "express";
7-
import {LocalStrategyInfo} from "passport-local";
5+
import { default as User, UserModel, AuthToken } from "../models/User";
6+
import { Request, Response, NextFunction } from "express";
7+
import { LocalStrategyInfo } from "passport-local";
88
import { WriteError } from "mongodb";
99
const request = require("express-validator");
1010

0 commit comments

Comments
 (0)