@lark-project/js-sdk 2.1.1-dev.4 → 2.1.1-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/index.js +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1859,7 +1859,7 @@ declare abstract class Event extends BaseModel {
|
|
|
1859
1859
|
* @param callback 事件回调
|
|
1860
1860
|
* @returns 取消监听事件的方法
|
|
1861
1861
|
*/
|
|
1862
|
-
abstract onMessage<T extends EventType>(eventType: T, callback: (payload?: EventPayloadMap[T]) => void): Off;
|
|
1862
|
+
abstract onMessage<T extends EventType = EventType>(eventType: T, callback: (payload?: EventPayloadMap[T]) => void): Off;
|
|
1863
1863
|
}
|
|
1864
1864
|
|
|
1865
1865
|
/**
|