From 37f1e8a67b099a833d6a32ff5d9dfd77f26ed660 Mon Sep 17 00:00:00 2001 From: kdletters Date: Wed, 16 Sep 2026 01:26:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Web=20=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 整理生成类型与示例文件的导入顺序 --- .../src/features/ui-editor/types/FillMethod.ts | 2 +- sample.ts | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/ai-game-creator-shell/src/features/ui-editor/types/FillMethod.ts b/apps/ai-game-creator-shell/src/features/ui-editor/types/FillMethod.ts index 1651dbbee..3edc54e91 100644 --- a/apps/ai-game-creator-shell/src/features/ui-editor/types/FillMethod.ts +++ b/apps/ai-game-creator-shell/src/features/ui-editor/types/FillMethod.ts @@ -1,8 +1,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { HorizontalFillOrigin } from "./HorizontalFillOrigin"; +import type { Radial90Origin } from "./Radial90Origin"; import type { Radial180Origin } from "./Radial180Origin"; import type { Radial360Origin } from "./Radial360Origin"; -import type { Radial90Origin } from "./Radial90Origin"; import type { VerticalFillOrigin } from "./VerticalFillOrigin"; export type FillMethod = { "Horizontal": HorizontalFillOrigin } | { "Vertical": VerticalFillOrigin } | { "Radial90": { origin: Radial90Origin, clockwise: boolean, } } | { "Radial180": { origin: Radial180Origin, clockwise: boolean, } } | { "Radial360": { origin: Radial360Origin, clockwise: boolean, } }; diff --git a/sample.ts b/sample.ts index b1d24bdef..a56d432a8 100644 --- a/sample.ts +++ b/sample.ts @@ -1,4 +1,6 @@ -import { zebra } from './zebra'; import { alpha } from './alpha'; -const staged={value:1} -void zebra; void alpha; void staged; +import { zebra } from './zebra'; +const staged = { value: 1 }; +void zebra; +void alpha; +void staged;