mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2026-03-24 15:41:01 +00:00
Update source and dependency to work with TypeScript 2.7. Closes #81
The commit brings compatibility with new features introduced in TypeScript 2.7. The one with most impact on this project is ES6/ECMAScript module compatibility layer added in 2.7 enabled in tsconfig.json for this project. This allowed to rewrite source files to use shorted, better imports everywhere and also use default exports. To make project more aligned with updated TypeScript all the NPM depenendencies has been updated making sure that everything works as expected and tests pass. Thanks for the project! Thanks!
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import * as passport from "passport";
|
||||
import * as request from "request";
|
||||
import * as passportLocal from "passport-local";
|
||||
import * as passportFacebook from "passport-facebook";
|
||||
import * as _ from "lodash";
|
||||
import passport from "passport";
|
||||
import request from "request";
|
||||
import passportLocal from "passport-local";
|
||||
import passportFacebook from "passport-facebook";
|
||||
import _ from "lodash";
|
||||
|
||||
// import { User, UserType } from '../models/User';
|
||||
import { default as User } from "../models/User";
|
||||
|
||||
Reference in New Issue
Block a user