浏览代码

[extract]: fix jsdoc

mightyplow 7 年之前
父节点
当前提交
ed5015a1c3
共有 1 个文件被更改,包括 1 次插入3 次删除
  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) => {