Comparing version 1.5.1 to 1.6.0
{ | ||
"name": "lazy-ass", | ||
"description": "Lazy assertions without performance penalty", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>", | ||
@@ -68,3 +68,4 @@ "bugs": { | ||
"bower.json", | ||
"test/demo.js" | ||
"test/demo.js", | ||
"index.d.ts" | ||
], | ||
@@ -111,3 +112,4 @@ "homepage": "https://github.com/bahmutov/lazy-ass", | ||
"watch": "grunt watch" | ||
} | ||
}, | ||
"types": "index.d.ts" | ||
} |
@@ -204,2 +204,12 @@ # lazy-ass | ||
## TypeScript | ||
If you use this function from a TypeScript project, we provide ambient type | ||
definition file. Because this is CommonJS library, use it like this | ||
```ts | ||
import la = require('lazy-ass') | ||
// la should have type signature | ||
``` | ||
### Small print | ||
@@ -206,0 +216,0 @@ |
19435
8
181
270