From 4d96f4f1bbdc6c4c7a6041db9fc5d436d688f1d8 Mon Sep 17 00:00:00 2001 From: Kobi Date: Thu, 1 Jul 2021 15:02:11 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-7828=20=E8=A1=A5=E5=85=85=E5=A3=B0?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/case/trigger/trigger.text.select.ts | 5 +++++ typescript/shims-tsx.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/typescript/case/trigger/trigger.text.select.ts b/typescript/case/trigger/trigger.text.select.ts index 081f0e9177..5f0b6e2b25 100644 --- a/typescript/case/trigger/trigger.text.select.ts +++ b/typescript/case/trigger/trigger.text.select.ts @@ -2,4 +2,9 @@ import { Trigger } from "../../base/single/trigger/trigger"; export declare class SelectTextTrigger extends Trigger { static xtype: string; + + props: { + items: any[]; + text: string | Function; + } & Trigger['props']; } diff --git a/typescript/shims-tsx.ts b/typescript/shims-tsx.ts index 47854e9e1d..8c8da9431d 100644 --- a/typescript/shims-tsx.ts +++ b/typescript/shims-tsx.ts @@ -44,7 +44,7 @@ interface ElementClassProps extends UIProps { $testId: string; $point: any; $value: any; - $scope: () => any; + $scope: any; beforeRender(callback: () => void): void; beforeInit(callback: () => void): void;