We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7818bfb commit 92c8d68Copy full SHA for 92c8d68
packages/relay-experimental/MatchContainer.js
@@ -86,6 +86,7 @@ const {useMemo} = React;
86
87
// Note: this type is intentionally non-exact, it is expected that the
88
// object may contain sibling fields.
89
+type TypenameOnlyPointer = {|+__typename: string|};
90
export type MatchPointer = {
91
+__fragmentPropName?: ?string,
92
+__module_component?: mixed,
@@ -96,7 +97,7 @@ export type MatchPointer = {
96
97
export type MatchContainerProps<TProps: {...}, TFallback: React.Node> = {|
98
+fallback?: ?TFallback,
99
+loader: (module: mixed) => React.AbstractComponent<TProps>,
- +match: ?MatchPointer,
100
+ +match: ?MatchPointer | ?TypenameOnlyPointer,
101
+props?: TProps,
102
|};
103
0 commit comments