lodash-decorators
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -22,2 +22,6 @@ 'use strict'; | ||
var _lodashLangIsBoolean = require('lodash/lang/isBoolean'); | ||
var _lodashLangIsBoolean2 = _interopRequireDefault(_lodashLangIsBoolean); | ||
var _utilsCopyMetaData = require('../utils/copyMetaData'); | ||
@@ -52,4 +56,4 @@ | ||
configurable: true, | ||
enumerable: false, | ||
writable: true | ||
enumerable: (0, _lodashLangIsBoolean2['default'])(descriptor.enumerable) ? descriptor.enumerable : false, | ||
writable: (0, _lodashLangIsBoolean2['default'])(descriptor.writable) ? descriptor.writable : true | ||
}); | ||
@@ -56,0 +60,0 @@ } else if (descriptor.get) { |
@@ -5,3 +5,3 @@ { | ||
"description": "A collection of decorators using lodash at it's core.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"engines": { | ||
@@ -8,0 +8,0 @@ "node": ">=0.12.0" |
@@ -364,3 +364,3 @@ # lodash-decorators | ||
```javascript | ||
import { Throttle } from 'lodash-decorators'; | ||
import { throttle } from 'lodash-decorators'; | ||
@@ -367,0 +367,0 @@ class Person { |
57706
1005