Skip to content

Commit

Permalink
refactor: 🏷️ update return type
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Sep 6, 2023
1 parent de70bda commit 1e841de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objects/sensor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export class Sensor extends BaseObject {
}
}

public setTime(date: Date): Sensor {
public setTime(date: Date): this {
this.time = date;

return this;
Expand Down

0 comments on commit 1e841de

Please sign in to comment.