File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 7
7
"dependencies" : {
8
8
"comment-parser" : " ^0.6.2" ,
9
9
"debug" : " ^4.1.1" ,
10
- "flat-map-polyfill" : " ^0.3.8" ,
11
10
"jsdoctypeparser" : " 5.0.1" ,
12
11
"lodash" : " ^4.17.15" ,
13
12
"object.entries-ponyfill" : " ^1.0.1" ,
Original file line number Diff line number Diff line change 1
1
// eslint-disable-next-line import/no-unassigned-import
2
- import 'flat-map-polyfill/dist/cjs/flat-map' ;
3
2
import _ from 'lodash' ;
4
3
import { parse as parseType , traverse } from 'jsdoctypeparser' ;
5
4
import iterateJsdoc , { parseComment } from '../iterateJsdoc' ;
@@ -78,7 +77,7 @@ export default iterateJsdoc(({
78
77
) ;
79
78
}
80
79
81
- const closureGenericTypes = templateTags . flatMap ( ( tag ) => {
80
+ const closureGenericTypes = _ . flatMap ( templateTags , ( tag ) => {
82
81
return jsdocUtils . parseClosureTemplateTag ( tag ) ;
83
82
} ) ;
84
83
You can’t perform that action at this time.
0 commit comments