Skip to content

Commit 96923f7

Browse files
authored
fix(types): utility type removed from RN 0.71 (#667)
1 parent 3a49686 commit 96923f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ import {
66
ViewProps,
77
NativeSyntheticEvent,
88
NativeMethods,
9-
Constructor,
109
TargetedEvent,
1110
ViewStyle,
1211
} from 'react-native';
1312

13+
type Constructor<T> = new (...args: any[]) => T;
14+
1415
export interface NativeSegmentedControlIOSChangeEvent extends TargetedEvent {
1516
value: string;
1617
selectedSegmentIndex: number;

0 commit comments

Comments
 (0)