No overload matches this call. Overload 1 of 2, '(props: CameraViewProps…
- User
No overload matches this call. Overload 1 of 2, '(props: CameraViewProps | Readonly): CameraView', gave the following error. Type '{ onBarCodeScanned: (({ data }: BarCodeScanningResult) => Promise) | undefined; barcodeScannerSettings: { barcodeTypes: "qr"[]; }; flash: "on" | "off"; facing: "back"; mode: "picture"; style: ViewStyle[]; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Pick<Readonly, never> & InexactPartial<...> & InexactPartial<...>'. Property 'onBarCodeScanned' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Pick<Readonly, never> & InexactPartial<...> & InexactPartial<...>'. Did you mean 'onBarcodeScanned'? Overload 2 of 2, '(props: CameraViewProps, context: any): CameraView', gave the following error. Type '{ onBarCodeScanned: (({ data }: BarCodeScanningResult) => Promise) | undefined; barcodeScannerSettings: { barcodeTypes: "qr"[]; }; flash: "on" | "off"; facing: "back"; mode: "picture"; style: ViewStyle[]; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Pick<Readonly, never> & InexactPartial<...> & InexactPartial<...>'. Property 'onBarCodeScanned' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Pick<Readonly, never> & InexactPartial<...> & InexactPartial<...>'. Did you mean 'onBarcodeScanned'?ts(2769)
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.