Skip to content

Commit 6a9d6f2

Browse files
Fdawgsljharb
authored andcommitted
[Fix] ExportMap: add missing param to function
1 parent 2e9379e commit 6a9d6f2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
2828
- [`dynamic-import-chunkname`]: prevent false report on a valid webpack magic comment ([#2330], thanks [@mhmadhamster])
2929
- [`export`]: do not error on TS export overloads ([#1590], thanks [@ljharb])
3030
- [`no-unresolved`], [`extensions`]: ignore type only exports ([#2436], thanks [@Lukas-Kullmann])
31+
- [Fix] `ExportMap`: add missing param to function ([#2589], thanks [@Fdawgs])
3132

3233
### Changed
3334
- [Tests] [`named`]: Run all TypeScript test ([#2427], thanks [@ProdigySim])
@@ -1021,6 +1022,7 @@ for info on changes for earlier releases.
10211022

10221023
[`memo-parser`]: ./memo-parser/README.md
10231024

1025+
[#2589]: https://github.com/import-js/eslint-plugin-import/pull/2589
10241026
[#2588]: https://github.com/import-js/eslint-plugin-import/pull/2588
10251027
[#2582]: https://github.com/import-js/eslint-plugin-import/pull/2582
10261028
[#2570]: https://github.com/import-js/eslint-plugin-import/pull/2570
@@ -1601,6 +1603,7 @@ for info on changes for earlier releases.
16011603
[@ernestostifano]: https://github.com/ernestostifano
16021604
[@ertrzyiks]: https://github.com/ertrzyiks
16031605
[@fa93hws]: https://github.com/fa93hws
1606+
[@Fdawgs]: https://github.com/Fdawgs
16041607
[@fengkfengk]: https://github.com/fengkfengk
16051608
[@fernandopasik]: https://github.com/fernandopasik
16061609
[@feychenie]: https://github.com/feychenie

src/ExportMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ ExportMap.parse = function (path, content, context) {
547547

548548
const source = makeSourceCode(content, ast);
549549

550-
function readTsConfig() {
550+
function readTsConfig(context) {
551551
const tsConfigInfo = tsConfigLoader({
552552
cwd:
553553
(context.parserOptions && context.parserOptions.tsconfigRootDir) ||

0 commit comments

Comments
 (0)