Skip to content

Commit 72e2eab

Browse files
committed
fix(no-undefined-types): import flat-map polyfill directly to avoid renamed flatten method from polluting prototype (#366)
1 parent 8a210de commit 72e2eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/noUndefinedTypes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// eslint-disable-next-line import/no-unassigned-import
2-
import 'flat-map-polyfill';
2+
import 'flat-map-polyfill/dist/cjs/flat-map';
33
import _ from 'lodash';
44
import {parse as parseType, traverse} from 'jsdoctypeparser';
55
import iterateJsdoc, {parseComment} from '../iterateJsdoc';

0 commit comments

Comments
 (0)