💄 Optimize posts
This commit is contained in:
@@ -60,7 +60,7 @@ export interface SnPost {
|
||||
awardedScore: number;
|
||||
reactionsCount: Record<string, number>;
|
||||
repliesCount: number;
|
||||
reactionsMade: Record<string, unknown>;
|
||||
reactionsMade: Record<string, boolean>;
|
||||
repliedGone: boolean;
|
||||
forwardedGone: boolean;
|
||||
repliedPostId: string | null;
|
||||
|
18
app/types/marked-katex.d.ts
vendored
Normal file
18
app/types/marked-katex.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare module 'marked-katex' {
|
||||
interface Options {
|
||||
throwOnError?: boolean
|
||||
errorColor?: string
|
||||
displayMode?: boolean
|
||||
leqno?: boolean
|
||||
fleqn?: boolean
|
||||
macros?: Record<string, string>
|
||||
colorIsTextColor?: boolean
|
||||
strict?: boolean | 'ignore' | 'warn' | 'error'
|
||||
trust?: boolean | ((context: { command: string; url: string; protocol: string }) => boolean)
|
||||
output?: 'html' | 'mathml' | 'htmlAndMathml'
|
||||
}
|
||||
|
||||
function markedKatex(options?: Options): any
|
||||
|
||||
export default markedKatex
|
||||
}
|
Reference in New Issue
Block a user