mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Converted imports to ES6 module syntax
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/// <reference path="express.d.ts" />
|
||||
|
||||
import express = require('express');
|
||||
import * as express from 'express';
|
||||
var app = express();
|
||||
|
||||
app.engine('jade', require('jade').__express);
|
||||
|
||||
Vendored
+3
-3
@@ -5,7 +5,7 @@
|
||||
|
||||
/* =================== USAGE ===================
|
||||
|
||||
import express = require('express');
|
||||
import * as express from "express";
|
||||
var app = express();
|
||||
|
||||
=============================================== */
|
||||
@@ -24,8 +24,8 @@ declare module Express {
|
||||
|
||||
|
||||
declare module "express" {
|
||||
import http = require('http');
|
||||
import serveStatic = require('serve-static');
|
||||
import * as http from "http";
|
||||
import * as serveStatic from "serve-static";
|
||||
|
||||
function e(): e.Express;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user