Skip to content

Commit 1085217

Browse files
committed
🐛 修复 TypeScript 定义文件中的 AV.koa2
1 parent 739fc7e commit 1085217

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# 更新日志
22

3+
## 3.3.3
4+
5+
- 修复 TypeScript 定义文件中的 AV.koa2.
6+
37
## 3.3.2
48

59
- 修复 `AV.Cloud.start`

leanengine.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function init(options: InitializeOptions): void;
4040

4141
export function express(options?: MiddlewareOptions): RequestHandler;
4242
export function koa(options?: MiddlewareOptions): Function;
43-
export function koa2(options?: MiddlewareOptions): Function;
43+
export function koa2(options?: MiddlewareOptions): any;
4444

4545
export class Object extends LCObject {
4646
disableBeforeHook(): void;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "leanengine",
3-
"version": "3.3.2",
3+
"version": "3.3.3",
44
"description": "LeanCloud LeanEngine Node.js SDK.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)