-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why the target is set to esnext and the lib to es6? #136
Comments
There is no much behind it, as this is only being used for type checking. Feel free to ask other questions if you have any. |
@radko93 I see 🙂
If there is no difference, would it make sense to make it consistent? |
I think it can be set to |
The reason why target and lib is set to different is because Metro will use Babel to transpile the syntax, which is what On the other hand, e.g. |
Question
In our team, we're trying to mimic the
tsconfig
you created. Did you have any reasoning behind setting these particular versions fortarget
(esnext) andlib
(es6)?The text was updated successfully, but these errors were encountered: