Closed natsuki-yamanaka closed 5 years ago
TypeScript support has not released yet, but master branch has take in .ts. In order to release typescript, Some fix needed I think.
https://github.com/payjp/payjp-node/blob/74d5b40d79faf172c468162d0e54a107a2e52b0b/src/resource.ts#L23 this will not return each response object, actually returned Promise object.
it's not working with master branch, exec with node xxx.js and then occured such error.
node xxx.js
var payjp = require('payjp')('sk_test_c62fade9d045b54cd76d7036'); ^
TypeError: require(...) is not a function
TypeScript support has not released yet, but master branch has take in .ts. In order to release typescript, Some fix needed I think.
https://github.com/payjp/payjp-node/blob/74d5b40d79faf172c468162d0e54a107a2e52b0b/src/resource.ts#L23 this will not return each response object, actually returned Promise object.
it's not working with master branch, exec with
node xxx.js
and then occured such error.TypeError: require(...) is not a function