Switch to "import * as": more standard way to do

This commit is contained in:
Tanguy Krotoff
2015-12-18 19:49:13 +01:00
parent 4676585cf1
commit 7e47928c4d
5 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
/// <reference path="http-errors.d.ts" />
/// <reference path="../express/express.d.ts" />
import createError = require('http-errors');
import express = require('express');
import * as createError from 'http-errors';
import * as express from 'express';
var app = express();