Properties
Private
#elapsed
#elapsed: number = 0
Private
#start
#start: number
Private
#stop
#stop: number = 0
Accessors
elapsed
- get elapsed(): number
-
Returns number
Methods
[toPrimitive]
- [toPrimitive](hint): string | number
-
Returns string | number
toString
- toString(format?): string
-
Parameters
-
Optional
format: "ms" | "seconds" | "minutes"
Returns string
Simple timer class to tim operations.