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
@marco-ippolito requested I raise this issue here due to SWC Parameter Properties differing from TS Parameter Properties.
With modern ES2022/ESNext emit, where by default it is implied that useDefineForClassFields: true, TS does not relocate class field initializers when Parameter Properties are used. But SWC does. So if support for the Parameter Properties transform is added in nodejs/node#54283 then Node needs to pick which behavior it wants.
@marco-ippolito requested I raise this issue here due to SWC Parameter Properties differing from TS Parameter Properties.
With modern ES2022/ESNext emit, where by default it is implied that
useDefineForClassFields: true
, TS does not relocate class field initializers when Parameter Properties are used. But SWC does. So if support for the Parameter Properties transform is added in nodejs/node#54283 then Node needs to pick which behavior it wants.The text was updated successfully, but these errors were encountered: