|
@@ -1,11 +1,9 @@
|
|
|
/**
|
|
|
* Creates a function which extracts some properties out of an object.
|
|
|
*
|
|
|
- * @typedef {function} extractProps
|
|
|
- *
|
|
|
* @memberOf object
|
|
|
* @param {string[]} props
|
|
|
- * @return {function(obj: Object)}
|
|
|
+ * @return {Function}
|
|
|
*/
|
|
|
|
|
|
const extract = (...props) => (obj) => {
|