From 4863cc74e8cf6b1e758c922106cb5dbec9417927 Mon Sep 17 00:00:00 2001 From: Stefan Profanter Date: Fri, 9 Oct 2015 18:13:50 +0200 Subject: [PATCH] Fixed error --- roslibjs/roslibjs.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roslibjs/roslibjs.d.ts b/roslibjs/roslibjs.d.ts index 4614deb92..667a37983 100644 --- a/roslibjs/roslibjs.d.ts +++ b/roslibjs/roslibjs.d.ts @@ -9,8 +9,8 @@ declare module ROSLIB { url: string }); - on(eventName: string, callback: (event: any) => void); - connect(url: string); + on(eventName: string, callback: (event: any) => void) : void; + connect(url: string) : void; } @@ -21,4 +21,4 @@ declare module ROSLIB { serviceType: string }); } -} \ No newline at end of file +}