fix linter error
This commit is contained in:
parent
3779c4b7db
commit
d03544c839
@ -2,7 +2,7 @@ import { BrowserWindow } from "electron";
|
|||||||
import serve from "electron-serve";
|
import serve from "electron-serve";
|
||||||
import path from "path";
|
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) {
|
export async function loadCustomScheme(window: BrowserWindow) {
|
||||||
await customScheme(window);
|
await customScheme(window);
|
||||||
|
@ -43,11 +43,7 @@
|
|||||||
/* Module Resolution Options */
|
/* Module Resolution Options */
|
||||||
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
||||||
"baseUrl": ".", /* Base directory to resolve non-absolute module names. */
|
"baseUrl": ".", /* Base directory to resolve non-absolute module names. */
|
||||||
"paths": {
|
"paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
||||||
"_Controller/*": ["src/Controller/*"],
|
|
||||||
"_Model/*": ["src/Model/*"],
|
|
||||||
"_Enum/*": ["src/Enum/*"]
|
|
||||||
}, /* 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. */
|
// "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. */
|
// "typeRoots": [], /* List of folders to include type definitions from. */
|
||||||
// "types": [], /* Type declaration files to be included in compilation. */
|
// "types": [], /* Type declaration files to be included in compilation. */
|
||||||
|
Loading…
Reference in New Issue
Block a user