-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Default values for tuple elements #951
Comments
hey @ssalbdivad can i work on this issue? |
@renu-123-pixel This issue is a lot more approachable than most other issues in the repo because all the correct behavior can be inferred from the object literal behavior, but it will still involve a fair amount of complex work with TypeScript and type-level functionality. If you feel confident in those areas, feel free, but it might not be a good fit if you're new to the ecosystem. |
ok ! if u say so u can assign it to someone else ! As I'm literal noob!! Thank you for your response ! |
This would allow an expression like the following with the same semantics as the default value expressions currently available on object literals:
See tests for object literals at
ark/type/__tests__/defaults.test.ts
.The text was updated successfully, but these errors were encountered: