The ESM symbol from eslint-utils ReferenceTracker should be typed #3527
Labels
enhancement
New feature or request
package: utils
Issues related to the @typescript-eslint/utils package
Repro
Expected Result
No type errors.
Actual Result
A type error, because there is no
ESM
key on the exportedReferenceTracker
interface fromast-utils
.Additional Info
This seems to be an undocumented export, but you can see it being defined in eslint-utils here. It's apparently used to mark a traceMap as being an ES module.
Versions
@typescript-eslint/experimental-utils
4.26.1
TypeScript
4.3.2
node
12.22.0
The text was updated successfully, but these errors were encountered: