chore: improve types for markdown

This commit is contained in:
lawvs
2022-12-28 13:53:11 +08:00
committed by DarkSky
parent cd216f53a9
commit daccfcb3f5
2 changed files with 4 additions and 4 deletions
+4 -1
View File
@@ -1 +1,4 @@
declare module '*.md';
declare module '*.md' {
const text: string;
export default text;
}
@@ -11,9 +11,6 @@ import { EditorHeader } from '@/components/header';
import EdgelessToolbar from '@/components/edgeless-toolbar';
import MobileModal from '@/components/mobile-modal';
import { useAppState } from '@/providers/app-state-provider/context';
/**
* @type {string}
*/
import exampleMarkdown from '@/templates/Welcome-to-the-AFFiNE-Alpha.md';
import type { NextPageWithLayout } from '../..//_app';
import WorkspaceLayout from '@/components/workspace-layout';