-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
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
[Feature]TypeScript support #12
Comments
I just pull-requested for only class. I hope someone adds for it. |
Any updates on Typescript support ? Thanks : ) |
Is there a package which can be used in Typescript project? Badly in need of it. |
@abhinayts we have worked towards bringing Typescript support to the project. Could you take a look at the branch |
@jkytomaki I tried to install 0.8.2 but I don't see types installed in module. I am using npm install --save-dev addsearch-js-client@0.8.2. Am I missing anything? Also repo is not building getting error while running npm run build.
'.' is not recognized as an internal or external command, |
@abhinayts the feature branch is not published to npmjs, so to use it you need to clone the repo to your machine then install it from there. Regarding error with |
removing ./ not helping. |
In case you are using Windows machine, try editing package.json's scripts with this
|
@haoAddsearch so after using it the code in my application I am getting error. My application is TS application. .next\static\chunks\webpack.js (25:0) @ webpack_require 23 | webpack_require.i.forEach(function(handler) { handler(execOptions); });
|
@abhinayts we will need to create a bug ticket and look into this. Could you tell which frontend/backend framework your application is using? |
@haoAddsearch I am trying to use it in react application using typescript. |
(1) We have successfully tried the below settings (2) High-level steps a) js-client-library:
b) the sample project 01_HelloReact:
(3) If the above isn't helpful to resolve your particular issue, then,
[1] https://www.addsearch.com/support/contact-support/ |
It can't install.
npm install @types/addsearch-js-client
I hope type definitions.
The text was updated successfully, but these errors were encountered: