diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json index 2e64c120..55fbf930 100644 --- a/packages/ui/tsconfig.json +++ b/packages/ui/tsconfig.json @@ -4,5 +4,5 @@ "outDir": "dist" }, "exclude": ["node_modules", "dist"], - "include": ["shadcn", "icons", "hooks", "components"] + "include": ["shadcn", "icons", "hooks", "components", "types.d.ts"] } diff --git a/packages/ui/tsconfig.lint.json b/packages/ui/tsconfig.lint.json index 2e64c120..55fbf930 100644 --- a/packages/ui/tsconfig.lint.json +++ b/packages/ui/tsconfig.lint.json @@ -4,5 +4,5 @@ "outDir": "dist" }, "exclude": ["node_modules", "dist"], - "include": ["shadcn", "icons", "hooks", "components"] + "include": ["shadcn", "icons", "hooks", "components", "types.d.ts"] } diff --git a/packages/ui/types.d.ts b/packages/ui/types.d.ts new file mode 100644 index 00000000..5783313c --- /dev/null +++ b/packages/ui/types.d.ts @@ -0,0 +1,4 @@ +declare module "*.svg" { + const content: React.FunctionComponent>; + export default content; +} \ No newline at end of file