Skip to content
Snippets Groups Projects
Commit 372cd470 authored by marihachi's avatar marihachi
Browse files

fix type definition of MfmSearch

parent c5596d16
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ import {
} from '../built';
export const QUOTE = (children: MfmNode[]): MfmQuote => { return { type:'quote', children }; };
export const SEARCH = (q: string, content: string): MfmSearch => { return { type:'search', props: { q, content } }; };
export const SEARCH = (query: string, content: string): MfmSearch => { return { type:'search', props: { query, content } }; };
export const CODE_BLOCK = (code: string, lang: string | null): MfmCodeBlock => { return { type:'blockCode', props: { code, lang } }; };
export const MATH_BLOCK = (formula: string): MfmMathBlock => { return { type:'mathBlock', props: { formula } }; };
export const CENTER = (children: MfmInline[]): MfmCenter => { return { type:'center', children }; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment