Skip to content

Commit a0d56ee

Browse files
committed
Address comments
1 parent 4a9511e commit a0d56ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ts_demo/topics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "rclnodejs-ts-topics-demo",
33
"version": "1.0.0",
44
"description": "TypeScript demo for rclnodejs topics (publisher and subscriber)",
5-
"main": "index.js",
5+
"main": "dist/publisher.js",
66
"scripts": {
77
"prebuild": "npm run clean",
88
"build": "tsc",

ts_demo/topics/src/publisher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import * as rclnodejs from 'rclnodejs';
99

1010
const TOPIC_NAME = 'ts_demo';
11-
const PUBLISH_INTERVAL = 1000000000n; // milliseconds
11+
const PUBLISH_INTERVAL = 1000000000n; // nanoseconds
1212

1313
/**
1414
* Main publisher function

0 commit comments

Comments
 (0)