Closed UnrefinedBrain closed 2 weeks ago
I think it's a bug in babel/eslint-parser
. Can you ask the babel team to fix it?
They will change it in babel v8: https://github.com/babel/babel/pull/12829
but v8 has been planned for years now with no release other than some alphas
I think that's also an issue with babel
, and I don't want to make the code harder to work around it.
Ok. I'll just use a local patch for vue-eslint-parser until babel 8 releases then
babel 7 parses TSTypeParameter's
name
as a string, which causes errors when using babel parser with the generic attribute