Skip to content

Commit

Permalink
fix(no-undefined-types): import flat-map polyfill directly to avoid…
Browse files Browse the repository at this point in the history
… renamed `flatten` method from polluting prototype (gajus#366)
  • Loading branch information
brettz9 committed Aug 15, 2019
1 parent 8a210de commit 72e2eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/noUndefinedTypes.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// eslint-disable-next-line import/no-unassigned-import
import 'flat-map-polyfill';
import 'flat-map-polyfill/dist/cjs/flat-map';
import _ from 'lodash';
import {parse as parseType, traverse} from 'jsdoctypeparser';
import iterateJsdoc, {parseComment} from '../iterateJsdoc';
Expand Down

0 comments on commit 72e2eab

Please sign in to comment.