From 5c2fd025af31b02a3ac5a89995cdfb9f45f813d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=AE=E7=94=9F?= Date: Thu, 2 Apr 2020 14:36:47 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=20=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=20css=20=E7=9A=84=E7=A4=BA=E4=BE=8B=E4=B8=AD?= =?UTF-8?q?=E5=A4=9A=E4=BA=86=E4=B8=80=E4=B8=AA=20=E3=80=8C=20}=20?= =?UTF-8?q?=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/App.svelte | 1 - static/svelte.d.ts | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 static/svelte.d.ts diff --git a/static/App.svelte b/static/App.svelte index 221e8c4..4b5981e 100644 --- a/static/App.svelte +++ b/static/App.svelte @@ -18,7 +18,6 @@ url("${server}generate_fonts_dynamically.ttf?temp=true&font=优设标题黑&text=优设标题黑(直接改这里和前面的字体名看效果)") format("truetype"); font-style: normal; font-weight: normal; - } } ` $: selected_font = font_list.filter(font => font.selected); diff --git a/static/svelte.d.ts b/static/svelte.d.ts new file mode 100644 index 0000000..bf6560c --- /dev/null +++ b/static/svelte.d.ts @@ -0,0 +1,3 @@ +declare module '*.svelte' { + export default any; +}