diff --git a/src/index.tsx b/src/index.tsx index 46e241e..3e74d28 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -81,7 +81,7 @@ export default class EIdReader { return EIdReaderNativeModule.openNfcSettings(); } - static imageDataUrlToJpegDataUrl(dataUrl: string): Promise { + static imageDataUrlToJpegDataUrl(dataUrl: string): string { return EIdReaderNativeModule.imageDataUrlToJpegDataUrl(dataUrl); }