Converting some properties in strophe.d.ts to methods

This commit is contained in:
David Deutsch
2015-04-12 10:06:29 -04:00
parent 40d3a81d31
commit 93f3e18036
+4 -4
View File
@@ -785,7 +785,7 @@ declare module Strophe {
* Parameters:
* (XMLElement) elem - The XML data received by the connection.
*/
xmlInput: (elem: Element) => void;
xmlInput(elem: Element): void;
/** Function: xmlOutput
* User overrideable function that receives XML data sent to the
@@ -805,7 +805,7 @@ declare module Strophe {
* Parameters:
* (XMLElement) elem - The XMLdata sent by the connection.
*/
xmlOutput: (elem: Element) => void;
xmlOutput(elem: Element): void;
/** Function: rawInput
* User overrideable function that receives raw data coming into the
@@ -819,7 +819,7 @@ declare module Strophe {
* Parameters:
* (String) data - The data received by the connection.
*/
rawInput: (data: string) => void;
rawInput(data: string): void;
/** Function: rawOutput
* User overrideable function that receives raw data sent to the
@@ -833,7 +833,7 @@ declare module Strophe {
* Parameters:
* (String) data - The data sent by the connection.
*/
rawOutput: (data: string) => void;
rawOutput(data: string): void;
/** Function: send
* Send a stanza.