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

feat: better type supports #20

Merged
merged 3 commits into from
Nov 14, 2022
Merged

feat: better type supports #20

merged 3 commits into from
Nov 14, 2022

Conversation

huynl-96
Copy link
Contributor

@huynl-96 huynl-96 commented Oct 3, 2022

Provides better DX with improved type support for literal strings and read-only arrays.

Some usage examples

  • splitByCase

image

  • pascalCase

image

@codecov
Copy link

codecov bot commented Oct 3, 2022

Codecov Report

Merging #20 (3d87334) into main (6bc17f5) will increase coverage by 0.19%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   98.95%   99.15%   +0.19%     
==========================================
  Files           1        1              
  Lines          96      118      +22     
  Branches       35       39       +4     
==========================================
+ Hits           95      117      +22     
  Misses          1        1              
Impacted Files Coverage Δ
src/index.ts 99.15% <100.00%> (+0.19%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@henrycunh
Copy link

amazing!

Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice thanks!

@pi0 pi0 merged commit 236fae0 into unjs:main Nov 14, 2022
@huynl-96 huynl-96 deleted the feat/types branch November 15, 2022 00:46
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

Successfully merging this pull request may close these issues.

None yet

3 participants