Skip to content

Commit 20c18fa

Browse files
committed
Merge remote-tracking branch 'origin/develop' into enable-strictpropertyinitialization
2 parents b75f958 + bb4bf64 commit 20c18fa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/tf/ROS2TFClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default class ROS2TFClient extends BaseTFClient {
3131
* Create and send a new goal (or service request) to the tf2_web_republisher
3232
* based on the current list of TFs.
3333
*/
34-
updateGoal() {
34+
override updateGoal() {
3535
const goalMessage = {
3636
source_frames: Object.keys(this.frameInfos),
3737
target_frame: this.fixedFrame,

src/tf/TFClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default class TFClient extends BaseTFClient {
5959
* Create and send a new goal (or service request) to the tf2_web_republisher
6060
* based on the current list of TFs.
6161
*/
62-
updateGoal() {
62+
override updateGoal() {
6363
const goalMessage: tf2_web_republisher.TFSubscriptionGoal = {
6464
source_frames: Object.keys(this.frameInfos),
6565
target_frame: this.fixedFrame,

tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@
4242
"strictBuiltinIteratorReturn": true /* Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'. */,
4343
"useUnknownInCatchVariables": true /* Default catch clause variables as `unknown` instead of `any`. */,
4444
"strictPropertyInitialization": true /* Check for class properties that are declared but not set in the constructor. */,
45+
"noImplicitOverride": true /* Ensure overriding members in derived classes are marked with an override modifier. */,
4546

4647
/* Rules to be enabled */
4748
"exactOptionalPropertyTypes": false /* Differentiate between undefined and not present when type checking */,
4849
"noImplicitAny": false /* Enable error reporting for expressions and declarations with an implied 'any' type. */,
49-
"noImplicitOverride": false /* Ensure overriding members in derived classes are marked with an override modifier. */,
5050
"noUncheckedIndexedAccess": false /* Add `undefined` to a type when accessed using an index. */,
5151
"strictFunctionTypes": false /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */,
5252

0 commit comments

Comments
 (0)