Closed rhofour closed 4 years ago
Hi @rhofour, thanks for your contribution! The code part looks perfect, just a couple of minor things.
target
field in the tsconfig.ts
file can stay as 'es5'
and everything will work just fine. We need that in order to support ie11.Thanks!
Done. I also bumped the version.
Thanks! the new version is ready! https://github.com/joanllenas/ts.data.json/releases/tag/v1.3.0
This required bumping up the target to ES2017. The syntax is a little redundant since you need the enum both as a parameter and a template parameter, but it doesn't look like there's a way to get the values of an enum at compile time from the template parameter.