remove empty namespace hack

This commit is contained in:
Stephen Mathieson
2018-06-27 10:09:05 -04:00
parent 1ffbaa9452
commit b72ddac07b
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -10,6 +10,4 @@ import { Server } from "net";
declare function testListen(srv: Server, hostname?: string): Promise<string>;
declare namespace testListen {}
export = testListen;
+1 -1
View File
@@ -1,5 +1,5 @@
import * as http from 'http';
import * as testListen from 'test-listen';
import testListen = require('test-listen');
const test = async (): Promise<void> => {
const server = http.createServer((req: http.IncomingMessage, res: http.ServerResponse): void => {