picker icon indicating copy to clipboard operation
picker copied to clipboard

Static members cannot reference class type parameters.

Open bshaw99 opened this issue 4 years ago • 1 comments

In typings/Picker.d.ts

Line 123: static Item: React.ComponentType<PickerItemProps<T>>;

throws node_modules/@react-native-picker/picker/typings/Picker.d.ts:123:52 - error TS2302: Static members cannot reference class type parameters.

Fixed by downgrading to an older version.

bshaw99 avatar Oct 19 '21 15:10 bshaw99

getting the same when running tsc

alielmajdaoui avatar Dec 28 '21 23:12 alielmajdaoui