Skip to content

Commit f576a20

Browse files
committed
refactor: simplify variable declarations in TopicPartitionSession
Signed-off-by: Vladislav Polyakov <[email protected]>
1 parent 649b4d4 commit f576a20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/topic/src/partition-session.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ export class TopicPartitionSession {
1818
/**
1919
* Offset of the last committed message from the partition.
2020
*/
21-
partitionCommittedOffset: bigint = 0n
21+
partitionCommittedOffset = 0n
2222
/**
2323
* Flag indicating whether the session is currently active.
2424
*/
25-
#stopped: boolean = false
25+
#stopped = false
2626
/**
2727
* Flag indicating whether the session has ended.
2828
*/
29-
#ended: boolean = false
29+
#ended = false
3030

3131
/**
3232
* Creates a new instance of TopicPartitionSession.

0 commit comments

Comments
 (0)