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
tesseract-wasm/node
Hey I just noticed a TS error when used with node
import { createOCRClient } from "tesseract-wasm/node";
Cannot find module 'tesseract-wasm/node' or its corresponding type declarations.ts(2307)
The text was updated successfully, but these errors were encountered:
Thanks for the report. The types in this package are currently only for the "root" tesseract-wasm import. Making types work for tesseract-wasm/node will involve using TS's support for the exports field in package.json to specify where to find types, per https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing.
tesseract-wasm
exports
Sorry, something went wrong.
No branches or pull requests
Hey I just noticed a TS error when used with node
The text was updated successfully, but these errors were encountered: