We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
MyObj
name
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
Uppercase<T>
Lowercase<T>
DelimiterCase
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Enforcing casing, such as:
When I go to create an object of type
MyObj
thename
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>
andLowercase<T>
but it does not seem to work withDelimiterCase
Upvote & Fund
The text was updated successfully, but these errors were encountered: