fix linter error

This commit is contained in:
Anton Bracke 2022-02-22 10:49:35 +01:00
parent 3779c4b7db
commit d03544c839
No known key found for this signature in database
GPG Key ID: B1222603899C6B25
2 changed files with 2 additions and 6 deletions

View File

@ -2,7 +2,7 @@ import { BrowserWindow } from "electron";
import serve from "electron-serve";
import path from "path";
let customScheme = serve({ directory: path.resolve(__dirname, "..", "local-app", "dist") });
const customScheme = serve({ directory: path.resolve(__dirname, "..", "local-app", "dist") });
export async function loadCustomScheme(window: BrowserWindow) {
await customScheme(window);

View File

@ -43,11 +43,7 @@
/* Module Resolution Options */
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
"baseUrl": ".", /* Base directory to resolve non-absolute module names. */
"paths": {
"_Controller/*": ["src/Controller/*"],
"_Model/*": ["src/Model/*"],
"_Enum/*": ["src/Enum/*"]
}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
"paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */