ravepay-nodejs icon indicating copy to clipboard operation
ravepay-nodejs copied to clipboard

FLW SDK not compactible with Typescript

Open joshuanwafor opened this issue 5 years ago • 2 comments

FlutterWave-node SDK is purely written in JavaScript. Incases were you're working on a large project, you need to ensure strict types checking in your code. I'm a Javascript developer and i make use of Typescript for most of my projects (It's much more safe in prod). I'm finding it difficult to work with FLW-node sdk on my typescript codebase because the SDK did not provide types declaration.

I'd love/appreciate it if this could be resolved.

Could not find a declaration file for module 'flutterwave-node/index'. '/home/joshua10x/projects_backend/tarminus/tarminal_backend/tarminal_resource_BE/node_modules/flutterwave-node/index.js' implicitly has an 'any' type. Try npm install @types/flutterwave-nodeif it exists or add a new declaration (.d.ts) file containingdeclare module 'flutterwave-node/index';`

joshuanwafor avatar Nov 23 '20 16:11 joshuanwafor