-
Notifications
You must be signed in to change notification settings - Fork 3
Typescript support #151
Comments
Hi @keerthivasanm, I think that it is a good idea to support TypeScript as well as ESM syntax. Maybe a good solution for both "problems" could be adding an option for support transforming files with babel/@core internally before loading them, and read the Babel configuration file from the project where Mocks Server is executed, so users can configure it by theirself. Then, a Babel plugin like I will investigate further, Thanks for your feedback! 🙂 |
…when loading mocks and routes (#151)
…iles from folder different to mocks (#151)
Hi again @keerthivasanm, I have already implemented it and now I'm preparing the new release. You can check how the solution will look like in this new section of the pre-release docs. I hope to publish it during this week. |
That was quick turnaround. Thanks @javierbrea. I'm waiting for the release :) |
Is your feature request related to a problem? Please describe.
We have a bunch of mocks as
.ts
files for other tests and would like use them formocks-server
.Describe the solution you'd like
Provide a way to configure node to use typescript.
The text was updated successfully, but these errors were encountered: