Files
DefinitelyTyped/freeport/index.d.ts
Peter Burns 6d3dfa2fc3 freeport: Add namespace declaration (#10063)
Enables importing with ES6 import syntax.
2016-07-12 23:06:42 -07:00

11 lines
351 B
TypeScript

// Type definitions for freeport 1.0.5
// Project: https://github.com/daaku/nodejs-freeport
// Definitions by: Arne Schubert <https://github.com/atd-schubert>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function freeport(cb: (err: Error, port: number) => void): void;
declare namespace freeport {}
export = freeport;