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

support references to types that are option #7

Open
Khady opened this issue Sep 21, 2024 · 0 comments
Open

support references to types that are option #7

Khady opened this issue Sep 21, 2024 · 0 comments

Comments

@Khady
Copy link
Collaborator

Khady commented Sep 21, 2024

We support not putting a type in required when it is an option, for example

type t = { f: string option }

But if the type is an alias for a type which is an option, we don't detect it

type opt = string option
type t = { f: opt }

should we have an attribute for such cases?

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

No branches or pull requests

1 participant