Comments (5)
@munezerobagira @HassanBahati
I recently found that typescript support for a js library are added through the DefinitelyTyped repo. I went on ahead to deploy the africastalking type definitions here. This allows developers to download the typescript definition using @types/africastalking convention. The npm package can be found here
from africastalking-node.js.
@HassanBahati I have generated the .d.ts, and it seem to have silenced the ts error but didn't solve the problem TS is trying to solve.
using
npx -p typescript tsc node_modules/africastalking/**/*.js --declaration --allowJs --emitDeclarationOnly --outDir``` types
from africastalking-node.js.
@munezerobagira thank you for taking time to open this issue.
from africastalking-node.js.
@HassanBahati I have generated the .d.ts, and it seem to have silenced the ts error but didn't solve the problem TS is trying to solve. using
npx -p typescript tsc node_modules/africastalking/**/*.js --declaration --allowJs --emitDeclarationOnly --outDir``` types
@munezerobagira this is noted.
the team is going to look into adding typescript support off the self...
from africastalking-node.js.
@DaggieBlanqx @aksalj @ianjuma @calvinkarundu what could be your thoughts on this?
from africastalking-node.js.
Related Issues (20)
- destructuring an undefined key HOT 1
- Security Venerability HOT 1
- Update Premium Urls. HOT 1
- v0.5.0 may have breaking changes ..sendsms error HOT 1
- High vulnerability with [email protected] HOT 2
- Cannot read property 'send' of undefined HOT 2
- send different messages to different numbers simultaneously ? HOT 2
- Vulnerability Report on Axios HOT 2
- The supplied authentication is invalid HOT 2
- Support for multiple numbers & clientRequestId in voice sdk
- Installing africastalking using npm not working HOT 10
- Error: Attempt to change mapping for "form" extension from "application/x-www-form-urlencoded" to "application/x-www-form-urlencoded". Pass `force=true` HOT 3
- Cannot read property 'send' of undefined HOT 1
- Support for Deno HOT 1
- Broken links on README.md file
- Voice API `callTo` Parameter Only Initiates Call to Last Number in Array HOT 6
- Request for Contribution Guide HOT 3
- Updating dependencies
- SMS Message With A Different String Font Being Sent in a Cryptic Manner 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 africastalking-node.js.