We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b677d23 commit 4172112Copy full SHA for 4172112
packages/server/src/utils/message.ts
@@ -82,9 +82,7 @@ export class ServerMessage {
82
}
83
84
isFilePart(part: UIMessagePart): part is FilePart {
85
- return (
86
- part.type === FILE_PART_TYPE && this.hasFields(part, ['data'])
87
- )
+ return part.type === FILE_PART_TYPE && this.hasFields(part, ['data'])
88
89
90
isArtifactPart(part: UIMessagePart): part is ArtifactPart {
0 commit comments