-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Support "branded" custom types #654
Comments
I need to study about it, but may consume lots of time. |
By the way, such crazy type comes from a specific library? If that, I also need to study about that for testing. |
At first, I will ignore intersection type when an object type being used with atomic type like In that case, only |
The actual implementation of the weird object type is internal to our repo but I think the general concept of "Typescript brands" general involves the intersection type of those base types with some object structure. As yes, simplifying those "nonsense" intersections down to the |
Fix #654 - support intersection type with `atomic & object`
If you stumbled across this issue, I have patched typia to support brands. See #911 (comment) |
Feature Request
Our existing codebase has a variety of existing "Branded" type definitions. For example, we have
When creating the assert definitions, this is what I see:
Feature requests:
Url
->string
)The text was updated successfully, but these errors were encountered: