Skip to content

Can I change the directory for #[ts(export)] -exported stuff? #66

Closed Answered by NyxCode
Niedzwiedzw asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. You can use #[ts(export_to = "../frontend/src/MyType.ts")] for this.
Currently, you'll have to do this for every type. In the future, we want to support more fine-grained configuration through a config file. This is sadly blocked by this

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Niedzwiedzw
Comment options

You must be logged in to vote
2 replies
@Niedzwiedzw
Comment options

@NyxCode
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants