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

[Feature Request] Enforce Casing #793

Open
douglasg14b opened this issue Jan 10, 2024 · 0 comments
Open

[Feature Request] Enforce Casing #793

douglasg14b opened this issue Jan 10, 2024 · 0 comments

Comments

@douglasg14b
Copy link

douglasg14b commented Jan 10, 2024

Enforcing casing, such as:

type MyObj = {
   name: IsKebabCase
}

When I go to create an object of type MyObj the name property will error if not in kebab case.

Utility types to enforce this would be golden

We can do this with built in Uppercase<T> and Lowercase<T> but it does not seem to work with DelimiterCase

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • The funding will be given to active contributors.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
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

No branches or pull requests

1 participant