ds300 / react-native-typescript-transformer

Seamlessly use TypeScript with React Native
MIT License
657 stars 50 forks source link

readme: remove trailing comma from tsconfig.json example #55

Closed chrmod closed 6 years ago

chrmod commented 6 years ago

so json format is valid

ds300 commented 6 years ago

Hi! Thanks for the PR! :+1:

tsconfig.json files are officially using the json5 format, which supports trailing commas and other neat features like comments. So this snippet in the README should work everywhere that matters.

Because of that, I'm not going to merge this PR. But I appreciate the thought! 🙌

chrmod commented 6 years ago

Sure. Have submitted the patch as my linter complained, wonder if json5 people have a solution to that.