Eslint error: Fragment not found in 'vue-frag'
aslak01 opened this issue Ā· comments
I'm not sure what ESLint rules you're using that's emitting the error.
If you mean TypeScript, maybe esModuleInterop
is not enabled?
If not, can you provide a minimal reproduction?
I can't help you with the information you provided so far.
I'm not working on that project anymore, so I'm sorry, but I can't really answer your suggestion or provide a minimal repro. It is a Vue 2 TS project, so it's quite possible that the problem is esModuleInterop not being enabled. I just reported it here because I didn't see anything similar from other packages, so if it is some TS setting causing it, it might warrant a comment in the readme or something.
It's standard TypeScript practice to enable esModuleInterop
when using import
statements that compile to CommonJS.
Closing this out as un-actionable since you can't provide more information.