fixed constructor. Has optional values

This commit is contained in:
Stefan Profanter 2015-10-19 15:36:28 +02:00
parent bb4692f5d2
commit 09ed0ec320

4
roslib/roslib.d.ts vendored
View File

@ -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 {