Open ayubUOL opened 1 year ago
Helloo... same error here... did you find any solution for this?
@shajeermhmmd I didn't find any solution to this problem but I'm using different plugin it's https://github.com/Ans0n-Ti0/esc-pos-encoder-ionic-demo
I solved this issue by adding the following to tsconfig.json file
"compilerOptions": {
.....
.....
"noImplicitAny": false,
.....
....
}
`Error: node_modules/thermal-printer-cordova-plugin/src/definitions.ts:56:3 - error TS7010: 'listPrinters', which lacks return-type annotation, implicitly has an 'any' return type.
56 listPrinters(data: { type: 'bluetooth' | 'usb'; }, success: (value: Printer[]) => any, error: (value: ErrorResult) => void);`