mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-08 16:17:37 +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,5 +1,5 @@
|
||||
import * as request from "supertest";
|
||||
import * as app from "../src/app";
|
||||
import request from "supertest";
|
||||
import app from "../src/app";
|
||||
|
||||
describe("GET /random-url", () => {
|
||||
it("should return 404", (done) => {
|
||||
|
||||
Reference in New Issue
Block a user