-
-
Notifications
You must be signed in to change notification settings - Fork 163
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 for tuple type #601
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job
src/Primitive.ts
Outdated
? _Primitive<T>[] | ||
? IsTuple<Instance> extends true | ||
? Instance extends [infer F, ...infer Rest] | ||
? [F, ..._PrimitiveObject<Rest>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would better to make a new type to reduce vulnerable iteration depths
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for your review. But we were going back a long way, leaving an easier way. :)
- There was a much simpler way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, very well.
@kakasoo has advanced `Primitive` type in `typia`, and `nestia` also accepts it. samchon/typia#601
@kakasoo has advanced `Primitive` type in `typia`, and `nestia` also accepts it. samchon/typia#601
Thanks to the hint you gave me, I could solve it easily.
I ran the test automation module with the bash script in the content of the CONTRIBUTING document and it was successful.