mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #10291 from garthk/fix-statsd-client-import-asterisk
Fix error TS2497 on `import * as X from 'statsd-client'`:
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
/// <reference path="statsd-client.d.ts" />
|
||||
import * as StatsdClient from 'statsd-client';
|
||||
const statsd = new StatsdClient({ debug: true });
|
||||
Vendored
+1
@@ -99,5 +99,6 @@ declare module "statsd-client" {
|
||||
getChildClient(name: string): StatsdClient;
|
||||
}
|
||||
|
||||
namespace StatsdClient {}
|
||||
export = StatsdClient;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user