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
**Description:**
Adds a `definite` and `is_override` property to `AutoAccessor` as they were missing.
It also fixes codegen for `AutoAccessor` when emitting TypeScript (which is the main reason I need this PR).
**BREAKING CHANGE:**
Adds a `definite` and `is_override` property.
**Related issue:**
- Closes#8344
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
AutoAccessor
nodes are missing a "definite" property for non-null assertions in TypeScript.Input code
Config
No response
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.3.100-nightly-20231125.1&code=H4sIAAAAAAAAA0vOSSwuVghJLS5RqOblUgCCgqL8AkUrheKSosy8dGuIWGJycmpxcX6RQmZeck5pSmpwfmlRciqyqloAhwjVK0kAAAA%3D&config=H4sIAAAAAAAAA2WPQQ7DIAwE73lF5HOv7aF%2F6CMQcSIqwMh2pEZR%2Fl4CCW3VG97Bu96163t4ioV7v%2BZnHpJhQW5zVmSJal5ZAV0SimWXFC4nVdnRaLxg0wa0xEaJJSPlGQvYKgc1PKHufijXwwg8keCvEQQX3bh8n2IpJEaRv8Rg4uTbfo3rjkgINMwFHhX3GjX%2BBp9PZ1gzBiePc7OU2N6FM0VqLgEAAA%3D%3D
SWC Info output
No response
Expected behavior
Should have
definite
property.Actual behavior
No response
Version
1.3.100-nightly-20231125.1
Additional context
No response
The text was updated successfully, but these errors were encountered: