mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add AMD suport for strophe.js
This commit is contained in:
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