Skip to content

Instantly share code, notes, and snippets.

@Codesleuth
Created August 31, 2016 10:24
Show Gist options
  • Save Codesleuth/f24786340cd7ea4e4ec08c34bee5ea2e to your computer and use it in GitHub Desktop.
Save Codesleuth/f24786340cd7ea4e4ec08c34bee5ea2e to your computer and use it in GitHub Desktop.
declare module 'hot-shots' {
interface ClientOptions {
host?: string;
port?: number | string;
}
class StatsDClient {
constructor(options?: ClientOptions);
increment(stat: string);
increment(stat: string | string[], value: number, sampleRate: number, tags: string[], callback: Function);
}
namespace StatsDClient {}
export = StatsDClient;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment