-
Notifications
You must be signed in to change notification settings - Fork 75
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
Export DataType
#138
Comments
Those data types receives its name from the spec. E.g. |
Makes sense. |
@frenic do we already have a forecast of when this will be available for use? |
Published in |
I was wondering whether it'd be possible for the package to export its
DataType
namespace, please? Or is there a reason not to?I think it'd be pretty useful, for example, I'm wanting to limit the prop values of
alignItems
andjustifyContent
to be justDataType.ContentPosition | DataType.ContentDistribution
.The existing type doesn't really limit the prop values as it uses
| string
:export type JustifyContent = Globals | DataType.ContentDistribution | DataType.ContentPosition | "left" | "normal" | "right" | (string & {});
I had a quick search through the issues and only found this unanswered question:
The text was updated successfully, but these errors were encountered: