mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
remove empty namespace hack
This commit is contained in:
Vendored
-2
@@ -10,6 +10,4 @@ import { Server } from "net";
|
||||
|
||||
declare function testListen(srv: Server, hostname?: string): Promise<string>;
|
||||
|
||||
declare namespace testListen {}
|
||||
|
||||
export = testListen;
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user