mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-15 18:14:28 +00:00
freeport: Add namespace declaration (#10063)
Enables importing with ES6 import syntax.
This commit is contained in:
committed by
Mohamed Hegazy
parent
837a56daa3
commit
6d3dfa2fc3
1
freeport/index.d.ts
vendored
1
freeport/index.d.ts
vendored
@@ -5,5 +5,6 @@
|
||||
|
||||
|
||||
declare function freeport(cb: (err: Error, port: number) => void): void;
|
||||
declare namespace freeport {}
|
||||
|
||||
export = freeport;
|
||||
|
||||
Reference in New Issue
Block a user