Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
39bytes committed Nov 22, 2023
1 parent fe7e749 commit 7827e6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/renderer/src/env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/// <reference types="vite/client" />

declare module '*.png?asset';
2 changes: 1 addition & 1 deletion tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "@electron-toolkit/tsconfig/tsconfig.node.json",
"include": ["electron.vite.config.*","src/main/*", "src/main/**/*", "src/preload/*"],
"include": ["electron.vite.config.*", "src/main/**/*", "src/preload/*"],
"compilerOptions": {
"composite": true,
"types": ["electron-vite/node"]
Expand Down
4 changes: 1 addition & 3 deletions tsconfig.web.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"src/renderer/src/**/*",
"src/renderer/src/**/*.tsx",
"src/preload/*.d.ts",
"src/main/api/index.d.ts",
"package.json"
"package.json",
],
"compilerOptions": {
"composite": true,
Expand All @@ -17,6 +16,5 @@
"./src/renderer/src/*"
]
},
"isolatedModules": true
}
}

0 comments on commit 7827e6b

Please sign in to comment.