Skip to content

Commit cb30388

Browse files
authored
Export React Native AttributeType Types (#21661)
1 parent c153679 commit cb30388

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-native-renderer/src/ReactNativeTypes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export type MeasureLayoutOnSuccessCallback = (
3333
height: number,
3434
) => void;
3535

36-
type AttributeType<T, V> =
36+
export type AttributeType<T, V> =
3737
| true
3838
| $ReadOnly<{|
3939
diff?: (arg1: T, arg2: T) => boolean,
@@ -42,7 +42,7 @@ type AttributeType<T, V> =
4242

4343
// We either force that `diff` and `process` always use mixed,
4444
// or we allow them to define specific types and use this hack
45-
type AnyAttributeType = AttributeType<$FlowFixMe, $FlowFixMe>;
45+
export type AnyAttributeType = AttributeType<$FlowFixMe, $FlowFixMe>;
4646

4747
export type AttributeConfiguration = $ReadOnly<{
4848
[propName: string]: AnyAttributeType,
@@ -53,7 +53,7 @@ export type AttributeConfiguration = $ReadOnly<{
5353
...
5454
}>;
5555

56-
type PartialAttributeConfiguration = $ReadOnly<{
56+
export type PartialAttributeConfiguration = $ReadOnly<{
5757
[propName: string]: AnyAttributeType,
5858
style?: $ReadOnly<{
5959
[propName: string]: AnyAttributeType,

0 commit comments

Comments
 (0)