Ver código fonte

[extract]: fix jsdoc

mightyplow 7 anos atrás
pai
commit
ed5015a1c3
1 arquivos alterados com 1 adições e 3 exclusões
  1. 1 3
      src/object/extract.js

+ 1 - 3
src/object/extract.js

@@ -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) => {