gocardless-nodejs
gocardless-nodejs copied to clipboard
Typescript definitions for core client?
Hello 👋 When using this module as per the readme instructions, we don't get type definitions for the core client object. It comes back as any
type. This then has repercussions for the rest of its usage throughout an app. For example:
const gocardless = require('gocardless-nodejs');
const client = gocardless(...); // ==> client is of type 'any'
const mandate = await client.mandates.find(mandateId); // ==> mandate is of type 'any'
etc etc
Perhaps I've missed something blatantly obvious...?