UNPKG
precise
Version:
latest (4.0.3)
4.0.3
4.0.2
4.0.1
4.0.0
3.0.0
2.0.1
2.0.0
1.1.0
1.0.1
1.0.0
Precision timer for nanosecond differences
github.com/avoidwork/precise
avoidwork/precise
precise
/
types
/
precise.d.ts
10 lines
(9 loc)
•
194 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
function
precise
(
):
Precise
;
export
class
Precise
{
started
:
any
;
stopped
:
any
;
diff
(
ms
?:
boolean
):
number
;
reset
():
this
;
start
():
this
;
stop
():
this
; }