We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`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);`
The text was updated successfully, but these errors were encountered:
Helloo... same error here... did you find any solution for this?
Sorry, something went wrong.
@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, ..... .... }
No branches or pull requests
`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);`
The text was updated successfully, but these errors were encountered: