-
Notifications
You must be signed in to change notification settings - Fork 463
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
Explore record type extension #5659
Comments
Another magic would solve the key props issue here 👍 |
This would be so great for the React Native bindings! Currently the props of Having module Slider = {
type props = {
...View.props,
disabled?: bool,
maximumTrackImage?: bool,
// ... more slider props ...
}
@module("react-native")
external make: props => React.element = "Slider"
} instead would be a huge win! /cc @MoOx |
I wish we could extend the parse tree and this would be some clean extension. |
|
Uses convention on field name "dotdotdot", to be replaces with a parser producing e.g. a field called "...". Currently expands the type eagerly. See #5659
Uses convention on field name "dotdotdot", to be replaces with a parser producing e.g. a field called "...". Currently expands the type eagerly. See #5659
Uses convention on field name "dotdotdot", to be replaces with a parser producing e.g. a field called "...". Currently expands the type eagerly. See #5659
Uses convention on field name "dotdotdot", to be replaces with a parser producing e.g. a field called "...". Currently expands the type eagerly. See #5659
type extended = {...t, x:string}
as an abbreviation instead of repeating the field of the type definition oft
.The text was updated successfully, but these errors were encountered: