Comments (3)
Hi @GeoffMcLennan I don't have any TS declarations, but it would be amazing if you could contribute them!
from node-native-ocr.
@stoefln Sounds good! I'll generate some manually, but that means if the base API of any exported members from this library change, they will be out of date. I don't have any experience with maintaining a library like this, but I would bet there's some CI tool that we could add to automate generation of TS declarations in the future. I'll keep an eye out for that as well
Edit: Actually I see that you're essentially just exposing the underlying libraries API directly, so I'm not sure theres an easy way to automatically generate the .d.ts files, so I will just go with what's described in the ReadMe for now
from node-native-ocr.
Created a PR with manually defined declarations: https://github.com/stoefln/node-native-ocr/pull/12/files
from node-native-ocr.
Related Issues (10)
- D:\...\Anaconda\Library\include\gif_lib.h(286): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file D:\code\repeato-studio\node_modules\node-native-ocr\leptonica\src\libversions.c) [D:\code\repeato-studio\node_modules\node-native-ocr\leptonica\build\src\leptonica.vcxproj]
- shelljs dependency not installed prior to install script execution HOT 1
- Hard dependency on Webpack when used with Electron HOT 1
- types / dist missing in currently published version
- undefined error in lib/index.js HOT 1
- Error LNK2019: unresolved external symbol "public: __cdecl tesseract::TessBaseAPI::TessBaseAPI(void)" HOT 7
- Prerequisites for installing / building under Windows 10
- Is there a way to disable log? HOT 3
- Windows 11 fatal error: LNK1120: 1 unresolved externals [C:\...\node_modules\node-native-ocr\build\node-native-ocr.vcxproj HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-native-ocr.