[@types/jscodeshift] missing exportKind in [namedTypes.ExportNamedDeclaration] #69615
Replies: 3 comments
-
Thanks for the discussion about "jscodeshift", some useful links for everyone: Pinging the DT module owners: @brieb, @bjacobel, @willtn, @sztobar. |
Beta Was this translation helpful? Give feedback.
-
I haven't touched jscodeshift in a while, could you provide some small code example and share it using https://astexplorer.net? |
Beta Was this translation helpful? Give feedback.
-
@sztobar Not sure if I understand you correctly, but what i'm trying to modify are export statements like: In my own code i have the following right now:
If I dont add the line |
Beta Was this translation helpful? Give feedback.
-
I've been using jscodeshift to transform export statements. If I don't set the
exportKind
key on my created exportDeclaration made usingj.exportNamedDeclaration
function then it wont't work properly, so it does work, it just seems the types are missing.I think it should be the same as
ImportDeclaration.importKind
Beta Was this translation helpful? Give feedback.
All reactions