You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we get the DelimiterCase type to understand the following camelcase examples?
typeTest=SnakeCase<'VATNumber'>;// expected 'VAT_number', found '_v_a_t_number'typeTest2=SnakeCase<'returnAPICall'>;// expected 'return_API_call', found 'return_a_p_i_call'
The rule could be: two capital letters in a row = converted to two words with no capitals, three capital letters or more in a row = converted to two words with the first word in uppercase and the second word starting with the last of the capital letters, but in lowercase.
And also perhaps these PascalCase examples could be fixed? (this is not for my usecase though)
typeTest3=SnakeCase<'OAuth'>;// expected 'o_auth', found '_o_auth'typeTest4=SnakeCase<'FeedAKitten'>;// expected 'feed_a_kitten', found '_feed_a_kitten'
I do understand this might be hideously complicated/impossible to implement - I just thought I'd ask in case!
The text was updated successfully, but these errors were encountered:
Sorry, I know this one was submitted first, but its the same issue as in #223 and there have been some more comments there, so I'm closing this in favor of that, but only because of that, else I would have done the reverse.
Can we get the DelimiterCase type to understand the following camelcase examples?
The rule could be: two capital letters in a row = converted to two words with no capitals, three capital letters or more in a row = converted to two words with the first word in uppercase and the second word starting with the last of the capital letters, but in lowercase.
And also perhaps these PascalCase examples could be fixed? (this is not for my usecase though)
I do understand this might be hideously complicated/impossible to implement - I just thought I'd ask in case!
The text was updated successfully, but these errors were encountered: