From e9b1c7cf3492b947b79c2a6b06c33141c01f8bac Mon Sep 17 00:00:00 2001 From: eunsukimme Date: Sat, 16 Sep 2023 20:53:01 +0900 Subject: [PATCH] chore: edit type def --- src/types/svg.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/types/svg.d.ts b/src/types/svg.d.ts index 6232642d..72557bd5 100644 --- a/src/types/svg.d.ts +++ b/src/types/svg.d.ts @@ -14,3 +14,11 @@ declare module '*.svg?rect' { const src: string; export default ReactComponent; } + +declare module '*.svg?v2' { + import React = require('react'); + + export const ReactComponent: REact.FC>; + const src: string; + export default ReactComponent; +}