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
The spread operator will output code which has __objSpread helper, but this helper behavior is not equal the native spread oprator. The getter funtion is lost. The original issue is vitejs/vite#3247
Thanks for the report. I can reproduce the issue. It looks like the TypeScript compiler (which esbuild's transform is modeled after) has the same issue, so that's why this is happening: microsoft/TypeScript#24799. I should be able to fix this.
Description
The spread operator will output code which has
__objSpread
helper, but this helper behavior is not equal the native spread oprator. The getter funtion is lost. The original issue is vitejs/vite#3247Input
Output
The text was updated successfully, but these errors were encountered: