Skip to content

Commit f529604

Browse files
committed
fix attribute hints in timer.ts
1 parent 5e14d16 commit f529604

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Classes/Timer.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ export default class Timer {
1515
callback: Function;
1616
/** Whether or not the timer is running. */
1717
started: boolean;
18-
/** @type {boolean} */
18+
/** Whether or not the timer is stopped. */
1919
stopped: boolean;
2020
/** Internal timer object. */
2121
timer: NodeJS.Timeout | null;
22-
/** @type {number|null} */
22+
/** Start tick. */
2323
startTick: number | null;
24-
/** @type {number|null} */
24+
/** End tick. */
2525
endTick: number | null;
26+
2627
/**
2728
* @param duration - Timer duration in milliseconds.
2829
* @param attributes - Timer attributes.

0 commit comments

Comments
 (0)