You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. I'm trying to build integration with gocardless and validate a webhook signature with parse function form the import { parse } from 'gocardless-nodejs/webhooks'. But my linter doesn't see webhook.d.ts and fails with error File '/...path/node_modules/gocardless-nodejs/webhooks.d.ts' is not a module.
I think this is because module.exports = {} is used instead of export { ... } in the webhook.ts file. I drafted this PR: #111 and confirmed that the created webhook.d.ts file contains the appropriate export instruction.
Hi there. I'm trying to build integration with gocardless and validate a webhook signature with
parse
function form theimport { parse } from 'gocardless-nodejs/webhooks'
. But my linter doesn't see webhook.d.ts and fails with errorFile '/...path/node_modules/gocardless-nodejs/webhooks.d.ts' is not a module
.How can I include types from the webhook.d.ts ?
Stack:
Tsconfig
The text was updated successfully, but these errors were encountered: