-
-
Notifications
You must be signed in to change notification settings - Fork 569
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
Fix: CamelCasedPropertiesDeep changing tupleto array #818
Conversation
}; | ||
: Value extends [] | ||
? [] | ||
// Tailing spread array |
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.
Indentation.
It should be a separate helper type, like in https://github.com/sindresorhus/type-fest/blob/main/source/delimiter-cased-properties-deep.d.ts It would also be useful with a comment to indicate where it's copied from, to make it easier to keep them in sync. |
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.
I'm skipping review on this one, I'm not really a fan of the *Deep
ones, they give me a headache
@pmk1c Bump :) |
7442936
to
b8c233e
Compare
Sorry for letting you wait. I also tried merging I'd think this is good for now. |
}; | ||
|
||
// This is a copy of DelimiterCasedPropertiesArrayDeep (see: delimiter-cased-properties-deep.d.ts). | ||
// These types should be kept in sync. |
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.
You need to add this text to DelimiterCasedPropertiesArrayDeep
too, otherwise it could get out of sync with this one.
…lCasedPropertiesDeep to fix changing tuple-type to array-type
fix #817