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

refactor: rm isAttached type on containers #303

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

zxch3n
Copy link
Member

@zxch3n zxch3n commented Mar 30, 2024

The type on isAttached is removed; it was able to infer the true/false correctly. Because it would cause downstream marking types harder.

TypeScript doesn't support type annotation on the constructor yet microsoft/TypeScript#27594 Otherwise, we may have a perfect solution.

@zxch3n zxch3n merged commit c3d5e92 into main Mar 30, 2024
1 check passed
@zxch3n zxch3n deleted the refacotr-attached-state-type branch March 30, 2024 18:07
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.

1 participant