From 2ec0e5e0c2a864a45803423435035772caccf0e5 Mon Sep 17 00:00:00 2001 From: Chris Bowdon Date: Sat, 15 Nov 2014 11:02:44 +0000 Subject: [PATCH] Added declaration for TypeScript external module support --- mithril.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mithril.d.ts b/mithril.d.ts index 4fcb5b87..a3f6ae18 100644 --- a/mithril.d.ts +++ b/mithril.d.ts @@ -63,3 +63,7 @@ interface MithrilXHROptions { declare var Mithril: MithrilStatic; declare var m: MithrilStatic; + +declare module 'mithril' { + export = MithrilStatic; +}