Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove unused, always empty fields from TsPropertySignature #8955

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lucacasonato
Copy link
Contributor

@lucacasonato lucacasonato commented May 14, 2024

Description:

TsPropertySignature can not have params, type params, or an initializer.

BREAKING CHANGE:

Yes. Any users looking into these fields should stop - they are always empty.

@lucacasonato lucacasonato requested review from a team as code owners May 14, 2024 13:46
Copy link

changeset-bot bot commented May 14, 2024

⚠️ No Changeset found

Latest commit: ac2fe73

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

- TsPropertySignature can not have params, type params, or an initializer.
- TsGetterSignature can not be optional or readonly.
- TsSetterSignature can not be optional or readonly.
- TsMethodSignature can not be readonly.
@lucacasonato
Copy link
Contributor Author

I suggest you review the two commits independently. The second one is just test expectation updates caused by the first commit. All code changes are in the first commit.

@kdy1 kdy1 added this to the Planned milestone May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants