File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,10 @@ class SocketIO {
214214 * @param callback
215215 */
216216 updateSocketOptions ( options : SocketIOOptions , callback : Function ) {
217- if ( ! options ) throw new Error ( 'options is a required property of type "SocketIOOptions"' ) ;
217+ if ( ! options )
218+ throw new Error (
219+ 'options is a required property of type "SocketIOOptions"'
220+ ) ;
218221
219222 this . SocketIOModule . updateSocketOptions ( options , callback ) ;
220223 }
@@ -225,7 +228,10 @@ class SocketIO {
225228 * @param options
226229 */
227230 updateSocketOptionsSync ( options : SocketIOOptions ) {
228- if ( ! options ) throw new Error ( 'options is a required property of type "SocketIOOptions"' ) ;
231+ if ( ! options )
232+ throw new Error (
233+ 'options is a required property of type "SocketIOOptions"'
234+ ) ;
229235
230236 this . SocketIOModule . updateSocketOptionsSync ( options ) ;
231237 }
You can’t perform that action at this time.
0 commit comments