mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Add AMD suport for strophe.js
This commit is contained in:
1 parent
54f064352a
commit
b2ddb24c41
1 file changed
+5
Vendored
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user