You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I understand, target: esnext will avoid most code transforms by tsc, outputting exactly what the user authored. This is in a way similar to #29
In full-typescript projects this means that by default what you write is what you get, avoiding unwanted and often unnecessary code transforms. I think a lot of people don’t understand that “tsc acts like babel-preset” so probably this shouldn’t be the default behavior.
The advantages for this package are:
fewer majors required here
updates of this package won’t necessarily change my project’s compatibility/output
I haven’t decided what lib should be set to but that can be discussed separately, it’s fine as is.
The text was updated successfully, but these errors were encountered:
From what I understand,
target: esnext
will avoid most code transforms by tsc, outputting exactly what the user authored. This is in a way similar to #29In full-typescript projects this means that by default what you write is what you get, avoiding unwanted and often unnecessary code transforms. I think a lot of people don’t understand that “tsc acts like babel-preset” so probably this shouldn’t be the default behavior.
The advantages for this package are:
I haven’t decided what
lib
should be set to but that can be discussed separately, it’s fine as is.The text was updated successfully, but these errors were encountered: