is there a way to get the exported members values #6295
Alexandre-Fernandez
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I get the exported members from a file after using
swc.parseFileSync(path)
?I can see the declarations array but I can't find a way to get the exported values.
Something like
import "ts-node/register"
require(filePath)
.Beta Was this translation helpful? Give feedback.
All reactions