From b72ddac07b722413a43dba577019184e7b859317 Mon Sep 17 00:00:00 2001 From: Stephen Mathieson Date: Wed, 27 Jun 2018 10:09:05 -0400 Subject: [PATCH] remove empty namespace hack --- types/test-listen/index.d.ts | 2 -- types/test-listen/test-listen-tests.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/types/test-listen/index.d.ts b/types/test-listen/index.d.ts index 0bf7c00dd8..741ffa0695 100644 --- a/types/test-listen/index.d.ts +++ b/types/test-listen/index.d.ts @@ -10,6 +10,4 @@ import { Server } from "net"; declare function testListen(srv: Server, hostname?: string): Promise; -declare namespace testListen {} - export = testListen; diff --git a/types/test-listen/test-listen-tests.ts b/types/test-listen/test-listen-tests.ts index 1161772e09..c5bc189ee8 100644 --- a/types/test-listen/test-listen-tests.ts +++ b/types/test-listen/test-listen-tests.ts @@ -1,5 +1,5 @@ import * as http from 'http'; -import * as testListen from 'test-listen'; +import testListen = require('test-listen'); const test = async (): Promise => { const server = http.createServer((req: http.IncomingMessage, res: http.ServerResponse): void => {