fix: 修复 TypeScript 类型错误

This commit is contained in:
2026-01-27 20:31:57 +08:00
parent abab035b17
commit 0aa983085e
5 changed files with 36 additions and 51 deletions
+1 -14
View File
@@ -1,20 +1,7 @@
'use client';
import { useState, useEffect } from 'react';
interface KeywordData {
id: number;
word: string;
trendScore: number;
description: string;
detailPoints: string[];
visualConfig: {
color: string;
size: string;
border: string;
rotation?: string;
};
}
import type { KeywordData } from '@/app/[locale]/keyword-cloud/components/CloudWord';
interface QuarterData {
quarter: string;