-
Notifications
You must be signed in to change notification settings - Fork 5
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
Not configurable where the types will be stored #18
Comments
Not sure if I understand you request correctly... Would you like the generated types to be in the same folder as the "regular" types you define for your project? My idea was to dump this file in the
I'm of the impression that it's conventional to have a |
Yeah, it is common, but I had just named that folder differently, so using this project made me feel compelled to move all my other typings so that i can abide by the directory pattern this project chose - I think that while |
Ok. Makes sense. I'm totally fine making the output destination configurable as you suggest :) |
Will close since this has become a duplicate of #32 |
The plugin stores the typing at
src/@types/next-type-safe-routes
, but for my other types I had been putting them atsrc/types/...
so using this library is imposing the particular location on me - would rather it were a bit more configurable, but it's not a big deal for me to move the existing files for consistency.The text was updated successfully, but these errors were encountered: