misc: use submission type

This commit is contained in:
Xyphyn committed 2023-08-19 13:49:22 -07:00
1 parent 6a4d4077b4
commit f239ddeabf
2 files changed
+7 -15

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import { getClient } from '$lib/lemmy.js'
import { isComment, isPost } from '$lib/lemmy/item.js'
import type { CommentView, Person, PostView } from 'lemmy-js-client'
type Submission = PostView | CommentView
export type Submission = PostView | CommentView
export interface ContentView {
type: 'post' | 'comment'