From 09ed0ec320b2b89dd037794eb96dc882642a3d22 Mon Sep 17 00:00:00 2001 From: Stefan Profanter Date: Mon, 19 Oct 2015 15:36:28 +0200 Subject: [PATCH] fixed constructor. Has optional values --- roslib/roslib.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roslib/roslib.d.ts b/roslib/roslib.d.ts index 9bab4a49f..8610ea7d4 100644 --- a/roslib/roslib.d.ts +++ b/roslib/roslib.d.ts @@ -231,7 +231,7 @@ declare module ROSLIB { * @constructor * @param values - object matching the fields defined in the .srv definition file */ - constructor(values: any); + constructor(values?: any); } export class ServiceResponse { @@ -241,7 +241,7 @@ declare module ROSLIB { * @constructor * @param values - object matching the fields defined in the .srv definition file */ - constructor(values: any); + constructor(values?: any); } export class Topic {