소스 검색

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