Skip to content

Commit 326ad70

Browse files
wayneparrottMinggang Wang
authored andcommitted
Remove extraneous surrounding namespace from DEFAULT_OPTIONS
1 parent 80b1c85 commit 326ad70

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

types/node.d.ts

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ declare module 'rclnodejs' {
3131
qos?: T;
3232
}
3333

34+
/**
35+
* Default options when creating a Node, Publisher, Subscription, Client or Service
36+
*
37+
* ```ts
38+
* {
39+
* enableTypedArray: true,
40+
* qos: QoS.profileDefault
41+
* }
42+
* ```
43+
*/
44+
const DEFAULT_OPTIONS: Options;
45+
3446
/**
3547
* A service response to a client request.
3648
*
@@ -657,18 +669,4 @@ declare module 'rclnodejs' {
657669
countSubscribers(topic: string): number;
658670
}
659671

660-
namespace rclnodejs {
661-
/**
662-
* Default options when creating a Node, Publisher, Subscription, Client or Service
663-
*
664-
* ```ts
665-
* {
666-
* enableTypedArray: true,
667-
* qos: QoS.profileDefault
668-
* }
669-
*
670-
* ```
671-
*/
672-
export const DEFAULT_OPTIONS: Options;
673-
}
674672
}

0 commit comments

Comments
 (0)