Add precise definitions and tests.

This commit is contained in:
CodeAnimal
2014-09-27 18:19:07 +01:00
parent c8b6954f44
commit 161395bce8
2 changed files with 43 additions and 0 deletions
+9
View File
@@ -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);