From a89348ebe008af605b8b9a491da74e08b4a160fd Mon Sep 17 00:00:00 2001 From: fay Date: Fri, 27 Aug 2021 16:38:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/lib/core/wrapper/layout.d.ts | 2 +- typescript/core/wrapper/layout.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/lib/core/wrapper/layout.d.ts b/dist/lib/core/wrapper/layout.d.ts index 1115f3977..0e070a320 100644 --- a/dist/lib/core/wrapper/layout.d.ts +++ b/dist/lib/core/wrapper/layout.d.ts @@ -3,7 +3,7 @@ export declare class Layout extends Widget { static xtype: string; addItem(item: any): any; prependItem(item: any): any; - addItemAt(index: string, item: any): any; + addItemAt(index: number, item: any): any; removeItemAt(indexes: any): void; shouldUpdateItem(index: number, item: any): boolean; updateItemAt(index: number, item: any): any; diff --git a/typescript/core/wrapper/layout.ts b/typescript/core/wrapper/layout.ts index abc57bc55..48e4b3924 100644 --- a/typescript/core/wrapper/layout.ts +++ b/typescript/core/wrapper/layout.ts @@ -7,7 +7,7 @@ export declare class Layout extends Widget { prependItem(item: any): any; - addItemAt(index: string, item: any): any; + addItemAt(index: number, item: any): any; removeItemAt(indexes: any): void;