mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix crash when using an inline svg Icon (#5450)
This commit is contained in:
1 parent
c8cf300e9b
commit
41d4daded7
3 files changed
+90
-12
No files matched your search
Vendored
+5
-1
@@ -25,7 +25,11 @@ declare module "*.scss" {
|
||||
|
||||
// Declare everything what's bundled as webpack's type="asset/resource"
|
||||
// Should be mocked for tests support in jestConfig.moduleNameMapper (currently in "/package.json")
|
||||
declare module "*.svg";
|
||||
declare module "*.svg" {
|
||||
const content: string;
|
||||
export = content;
|
||||
}
|
||||
|
||||
declare module "*.jpg";
|
||||
declare module "*.png";
|
||||
declare module "*.eot";
|
||||
|
||||
Reference in new issue
Block a user