magicast icon indicating copy to clipboard operation
magicast copied to clipboard

Support exported functions

Open jherr opened this issue 1 year ago • 3 comments

Describe the feature

It would be great if parseModule would also find exported functions. For example:

export function foo() {
}

It currently exports exported constants, or the output of a function as the default. But it doesn't cover exported functions.

I personally don't require symmetric support on the generateCode side, which I get could be very challenging.

Additional information

  • [ ] Would you be willing to help implement this feature?

jherr avatar Feb 11 '24 17:02 jherr

@jherr heya, found myself needing the same thing, did you manage to find a solution?

Strajk avatar Oct 22 '24 05:10 Strajk

TBH, I don't even remember what this project is or what I was using it for, so, no.

jherr avatar Oct 22 '24 13:10 jherr

Would be really nice to get the exported functions

schplitt avatar Mar 28 '25 09:03 schplitt