Skip to content

Commit 10dc142

Browse files
committed
fix cycle import
1 parent e68764b commit 10dc142

File tree

1 file changed

+5
-7
lines changed
  • packages/chat-ui/src/chat/message-parts

1 file changed

+5
-7
lines changed

packages/chat-ui/src/chat/message-parts/types.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
import {
2-
ChatEvent,
3-
SourceData,
4-
SuggestedQuestionsData,
5-
FileData,
6-
} from '../../widgets'
7-
import { Artifact } from '../canvas/artifacts'
1+
import { type FileData } from '../../widgets/chat-file'
2+
import { type Artifact } from '../canvas/artifacts'
3+
import { type ChatEvent } from '../../widgets/chat-event'
4+
import { type SourceData } from '../../widgets/chat-sources'
5+
import { type SuggestedQuestionsData } from '../../widgets/suggested-questions'
86

97
export type MessagePart = TextPart | DataPart | FilePart | AnyPart
108

0 commit comments

Comments
 (0)