From 20bdacf7656799860103d1627b754a9d2230af28 Mon Sep 17 00:00:00 2001 From: Yuanlin Lin Date: Fri, 28 Jan 2022 15:24:16 +0800 Subject: [PATCH] fix(plugin-docs): Fixed build failed caused by no .svg module declaration (#332) --- types.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types.d.ts b/types.d.ts index 8ec27b74f28d..ceafe12850e9 100644 --- a/types.d.ts +++ b/types.d.ts @@ -2,3 +2,8 @@ declare module '*.png' { const src: string export default src } + +declare module '*.svg' { + const src: string + export default src +}