Closed FezVrasta closed 3 years ago
Hi @FezVrasta no sorry there isn't
But you could maybe run tsc
on the file to convert it to plain javascript
Is there any technical reason behind this behavior?
Yes it's because this plugin is named typescript-mock-data and we generate types in the code directly.
Feel free to fork this project and create a plugin javascript-mock-data
maybe?
No need to be rude.
Sorry @FezVrasta I didn't mean to be rude, but we don't use any templating system so generating a different output, would require a huge refactor. Like many open source projects, it was done in few hours during a week end, so it's not perfect
Hi, is there any option to generate the mock data in plain JavaScript?