prodo-dev / prodo

Prodo is a React framework to build apps faster.
https://docs.prodo.dev
MIT License
114 stars 5 forks source link

cleaner output for babel-plugin: no unused vars #51

Open Onurbon opened 5 years ago

Onurbon commented 5 years ago

Applying our babel-plugin (without stripping the TS annotations) seems to produce TS-valid code in general, the code has a lot of unused variables, which makes debugging or ejecting harder (e.g. because ts-lint would complain).

Example of outputs:

image