Closed yunnysunny closed 2 months ago
感谢同学PR,能否只提交对yarn.lock文件的修改?
本来只想提供yarn.lock的代码,后来忘记这件事情了
这个pull request可以关闭了。 不过我想说一下第二点, https://github.com/larksuite/node-sdk/blob/dad0569084698f50fef29a11bf9761903bfa093a/dispatcher/event.ts#L71-L83 这里的函数参数类型是 IHandles,做一个子interface继承它是没有用的。 还有一点,贵公司内部用的node版本是 16 吧,我看测试用例在 16 上能跑,18 上运行失败。
Get
register<T = {}>(handles: IHandles & T)
感谢同学
@yunnysunny 1.29.0
register支持范型了,可以试试register<{customEvent: xxxx}>()
@yunnysunny
1.29.0
register支持范型了,可以试试register<{customEvent: xxxx}>()
我现在工作已经停滞了,我始终没有搞懂如何触发飞书的事件回调 🤣
We can not download the package from bnpm.byted.org as it's bytecode's private registry. So I change it to offical link.