From b2213ab67d2cc6a324cd8bd87b196eee41f8bde5 Mon Sep 17 00:00:00 2001 From: Zipeng WU Date: Mon, 25 Jul 2016 11:20:53 +0200 Subject: [PATCH] Fix problem - Cannot find module 'nvd3' when install as globel dependency --- nvd3/nvd3.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nvd3/nvd3.d.ts b/nvd3/nvd3.d.ts index f0297abcb0..9e9c1fdc24 100644 --- a/nvd3/nvd3.d.ts +++ b/nvd3/nvd3.d.ts @@ -3349,3 +3349,7 @@ id(value: number|string): this; } } declare var nv : nv.Nvd3Static; + +declare module "nvd3" { + export = nv; +}