p-mazhnik

fix error type

@@ -83,15 +83,9 @@ extension ResultExt on Result { @@ -83,15 +83,9 @@ extension ResultExt on Result {
83 } 83 }
84 } 84 }
85 85
86 -@JS()  
87 -@anonymous  
88 -abstract class Exception {  
89 - external String get message;  
90 -}  
91 -  
92 typedef BarcodeDetectionCallback = void Function( 86 typedef BarcodeDetectionCallback = void Function(
93 Result? result, 87 Result? result,
94 - Exception? error, 88 + dynamic error,
95 ); 89 );
96 90
97 extension JsZXingBrowserMultiFormatReaderExt 91 extension JsZXingBrowserMultiFormatReaderExt