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 results of class conversion by tsdown differ from those converted by TypeScript, causing problems when I migrate my project to tsdown.
The main issue is that tsdown retains uninitialized properties during conversion, whereas TypeScript does not. This makes it impossible to read properties with the same name on the prototype via the prototype chain. I hope that the results of tsdown's TypeScript conversion can be consistent with those of TypeScript's conversion.
This is the result of conversion by tsdown.
This is the result of conversion by TypeScript.
What is expected?
Consistently align with TypeScript's transpilation results by automatically removing uninitialized properties in classes.
What is actually happening?
It is inconsistent with the TypeScript transpilation results.