mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-29 12:40:34 +08:00
Add precise definitions and tests.
This commit is contained in:
1 parent
c8b6954f44
commit
161395bce8
2 files changed
+43
No files matched your search
@@ -0,0 +1,9 @@
|
||||
/// <reference path="precise.d.ts" />
|
||||
|
||||
import precise = require("precise");
|
||||
|
||||
var timer = precise().start();
|
||||
|
||||
setTimeout(function () {
|
||||
console.log(timer.stop().diff());
|
||||
}, 1000);
|
||||
Reference in new issue
Block a user