mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-05-19 07:42:43 +00:00
resolve ts error for svg imports
This commit is contained in:
parent
8f186b0b42
commit
d239093457
3 changed files with 6 additions and 2 deletions
|
|
@ -4,5 +4,5 @@
|
|||
"outDir": "dist"
|
||||
},
|
||||
"exclude": ["node_modules", "dist"],
|
||||
"include": ["shadcn", "icons", "hooks", "components"]
|
||||
"include": ["shadcn", "icons", "hooks", "components", "types.d.ts"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@
|
|||
"outDir": "dist"
|
||||
},
|
||||
"exclude": ["node_modules", "dist"],
|
||||
"include": ["shadcn", "icons", "hooks", "components"]
|
||||
"include": ["shadcn", "icons", "hooks", "components", "types.d.ts"]
|
||||
}
|
||||
|
|
|
|||
4
packages/ui/types.d.ts
vendored
Normal file
4
packages/ui/types.d.ts
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
declare module "*.svg" {
|
||||
const content: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
|
||||
export default content;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue