From b2ddb24c416b0a3b749af04bf376c1b65c3909bd Mon Sep 17 00:00:00 2001 From: Roman Vaughan Date: Sun, 27 Sep 2015 00:27:36 +1200 Subject: [PATCH] Add AMD suport for strophe.js --- strophe/strophe.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/strophe/strophe.d.ts b/strophe/strophe.d.ts index b8fc33989..9aba3bb90 100644 --- a/strophe/strophe.d.ts +++ b/strophe/strophe.d.ts @@ -49,6 +49,11 @@ declare function $iq(attrs?: any): Strophe.Builder; */ declare function $pres(attrs?: any): Strophe.Builder; +// Support AMD require +declare module 'Strophe' { + export = Strophe; +} + declare module Strophe { /** Constant: VERSION * The version of the Strophe library. Unreleased builds will have