misc: use submission type
This commit is contained in:
1 parent
6a4d4077b4
commit
f239ddeabf
2 files changed
+7
-15
No files matched your search
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user