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

Disjoint does not cover all cases for "bad" cyclic type aliases #211

Open
kaleidawave opened this issue Oct 30, 2024 · 0 comments
Open

Disjoint does not cover all cases for "bad" cyclic type aliases #211

kaleidawave opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
checking Issues around checking disjoint Related to disjoint operation needs-investigation Further information is requested

Comments

@kaleidawave
Copy link
Owner

There are several type alias which while are disjoint to their definition, have problems

// valid but not possible to construct. Does this break reading properties
type X = `prefix ${X}`; 

// disjoint but equivalent to number
type Y = number | Y; 
@kaleidawave kaleidawave added needs-investigation Further information is requested checking Issues around checking disjoint Related to disjoint operation labels Oct 30, 2024
@kaleidawave kaleidawave self-assigned this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
checking Issues around checking disjoint Related to disjoint operation needs-investigation Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant