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

Typescript: Refine types to use proper values for tags commonly used in conjunction with pair #181

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

maeriil
Copy link
Contributor

@maeriil maeriil commented Jan 20, 2025

Brief Description of your Changes.

Updated the Typescript definition file for ChildOf, OnDelete, OnDeleteTarget, Delete, and Remove so that their new type is Tags instead of Entity, which becomes Entity<unknown>

Impact of your Changes

Its a bug fix as these entities does not have any data, so it should be Entity<undefined> not Entity<unknown>

Tests Performed

Tested the types in my local machine

Additional Comments

@EncodedVenom EncodedVenom changed the title Fixed Typescript types for Entites with no data Typescript: Refine types to use proper values for tags commonly used in conjunction with pair Jan 21, 2025
Copy link
Collaborator

@EncodedVenom EncodedVenom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the changed types are not meant to have any data. This PR looks good to me.

@EncodedVenom EncodedVenom merged commit a39fc8d into Ukendio:main Jan 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants