From 93f3e1803661d4d34a2264d810ad9cb4f3c48c98 Mon Sep 17 00:00:00 2001 From: David Deutsch Date: Sun, 12 Apr 2015 10:06:29 -0400 Subject: [PATCH] Converting some properties in strophe.d.ts to methods --- strophe/strophe.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/strophe/strophe.d.ts b/strophe/strophe.d.ts index 248ebf647..6159bf59f 100644 --- a/strophe/strophe.d.ts +++ b/strophe/strophe.d.ts @@ -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.