优化模块组织

重构Transform类型路径
This commit is contained in:
2026-08-13 14:08:52 +08:00
parent 4532388572
commit c51cd973fc
3 changed files with 3 additions and 3 deletions
@@ -1,6 +1,6 @@
import { describe, expect, it } from 'vitest';
import type { Transform } from '../types';
import type { Transform } from '../../types/Transform';
import { tf2css } from './tf2css';
const STRETCH_TRANSFORM: Transform = {
@@ -1,6 +1,6 @@
import type { CSSProperties } from 'react';
import type { Transform } from '../types';
import type { Transform } from '../../types/Transform';
type TransformVectorField = keyof Transform;
@@ -10,7 +10,7 @@ import {
} from 'lucide-react';
import { useEffect, useMemo, useRef, useState } from 'react';
import type { Transform } from '../types';
import type { Transform } from '../../../../../features/ui-editor/types/Transform';
export type TransformEditorParentSize = {
width: number;