Closed soul0932 closed 1 year ago
/Users/soulmac/code/node/Nest/src/app.controller.ts:11 const pay = new Pay( ^ TypeError: wechatpay_node_v3_1.default is not a constructor
用在nestjs里时一使用就报这个错误,请问有人能解答一下吗
已解决:https://github.com/klover2/wechatpay-node-v3-ts/issues/20
推荐使用npm install nest-wechatpay-node-v3
/Users/soulmac/code/node/Nest/src/app.controller.ts:11 const pay = new Pay( ^ TypeError: wechatpay_node_v3_1.default is not a constructor
用在nestjs里时一使用就报这个错误,请问有人能解答一下吗