From 4d51c187a5c575b82bb07e720657506611cea91b Mon Sep 17 00:00:00 2001 From: z60068389 Date: Thu, 26 Jun 2025 17:07:13 +0800 Subject: [PATCH] Add the declaration keyword and fix uninitialized properties Signed-off-by: zhulei --- api/graphics3d/SceneTypes.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/graphics3d/SceneTypes.d.ts b/api/graphics3d/SceneTypes.d.ts index 0da2e5f159..1ba9410b68 100644 --- a/api/graphics3d/SceneTypes.d.ts +++ b/api/graphics3d/SceneTypes.d.ts @@ -336,7 +336,7 @@ export enum GeometryType { * @syscap SystemCapability.ArkUi.Graphics3D * @since 18 */ -export abstract class GeometryDefinition { +export declare abstract class GeometryDefinition { /** * Which geometry shape to interpret from this definition. * @@ -380,7 +380,7 @@ export enum PrimitiveTopology { * @syscap SystemCapability.ArkUi.Graphics3D * @since 18 */ -export class CustomGeometry extends GeometryDefinition { +export declare class CustomGeometry extends GeometryDefinition { /** * How to form mesh triangles from the indexed vertices. * @@ -454,7 +454,7 @@ export class CustomGeometry extends GeometryDefinition { * @syscap SystemCapability.ArkUi.Graphics3D * @since 18 */ -export class CubeGeometry extends GeometryDefinition { +export declare class CubeGeometry extends GeometryDefinition { /** * The width, height and depth of the cube. * @@ -472,7 +472,7 @@ export class CubeGeometry extends GeometryDefinition { * @syscap SystemCapability.ArkUi.Graphics3D * @since 18 */ -export class PlaneGeometry extends GeometryDefinition { +export declare class PlaneGeometry extends GeometryDefinition { /** * The width and length of the plane. * -- Gitee