From 4ef8a9c0e0b9dd72d69c6eceaabedf3ec5f37988 Mon Sep 17 00:00:00 2001 From: wujinhui Date: Sat, 21 Jun 2025 17:04:50 +0800 Subject: [PATCH] add export in common Signed-off-by: wujinhui --- api/@internal/component/ets/common.d.ts | 30 +++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index a499237a14..4de8ecaa77 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -30,8 +30,8 @@ import { IntentionCode } from '../../@ohos.multimodalInput.intentionCode'; import { SymbolGlyphModifier } from '../../arkui/SymbolGlyphModifier'; import { CircleShape, EllipseShape, PathShape, RectShape } from '../../@ohos.arkui.shape'; import uiObserver from '../../@ohos.arkui.observer'; -import { UIContext } from '../../@ohos.arkui.UIContext'; -import { DrawContext, LengthMetrics } from '../../arkui/Graphics'; +import { UIContext as _UIContext } from '../../@ohos.arkui.UIContext'; +import { DrawContext as _DrawContext, LengthMetrics } from '../../arkui/Graphics'; import uiEffect from '../../@ohos.graphics.uiEffect'; import { FocusBoxStyle, FocusPriority } from './focus'; import { ComponentContent } from '../../arkui/ComponentContent'; @@ -29645,6 +29645,19 @@ declare type RouterPageInfo = uiObserver.RouterPageInfo; */ declare type UIContext = import('../api/@ohos.arkui.UIContext').UIContext; +/** + * UIContext. + * + * @typedef { _UIContext } UIContext + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @stagemodelonly + * @crossplatform + * @atomicservice + * @since 20 + * @arkts 1.2 + */ +export type UIContext = _UIContext; + /** * DrawContext * @@ -29656,6 +29669,19 @@ declare type UIContext = import('../api/@ohos.arkui.UIContext').UIContext; */ declare type DrawContext = import('../api/arkui/Graphics').DrawContext; +/** + * DrawContext. + * + * @typedef { _DrawContext } DrawContext + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @stagemodelonly + * @crossplatform + * @atomicservice + * @since 20 + * @arkts 1.2 + */ +export type DrawContext = _DrawContext; + /** * VisualEffect * -- Gitee