Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS export = disables us to export types #257

Closed
krebernisak opened this issue Jan 20, 2021 · 1 comment
Closed

TS export = disables us to export types #257

krebernisak opened this issue Jan 20, 2021 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@krebernisak
Copy link
Contributor

We should migrate for the way we currently export form adapters:

// only values can be exported here
export = { NAME, /* types */, makeExecute, makeConfig, ...expose(util.wrapExecute(makeExecute())) }

... to something like this:

const handlers = expose(util.wrapExecute(makeExecute()))

export { NAME, types, makeExecute, makeConfig, handlers }
@krebernisak krebernisak added bug Something isn't working enhancement New feature or request labels Jan 20, 2021
@GMSteuart
Copy link

@krebernisak there is a much simpler route than all these exports to begin with

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants