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 const attribute to custom type's field #194

Open
katat opened this issue Sep 26, 2024 · 1 comment
Open

Support const attribute to custom type's field #194

katat opened this issue Sep 26, 2024 · 1 comment

Comments

@katat
Copy link
Collaborator

katat commented Sep 26, 2024

To better type check a const field from a custom type, it would be better to support:

Thing {
  xx: Field,
  yy: const Field
}
@mimoo
Copy link
Contributor

mimoo commented Oct 5, 2024

^ as discussed privately I don't think this is a good approach (I need to copy/paste the arguments I had here)

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

2 participants