Skip to content

Commit f60add8

Browse files
committed
misc/ Enable Typescript strict mode
1 parent 18c5431 commit f60add8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Diff for: src/app/core/services/electron/electron.service.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import * as fs from 'fs';
1010
providedIn: 'root'
1111
})
1212
export class ElectronService {
13-
ipcRenderer: typeof ipcRenderer;
14-
webFrame: typeof webFrame;
15-
childProcess: typeof childProcess;
16-
fs: typeof fs;
13+
ipcRenderer!: typeof ipcRenderer;
14+
webFrame!: typeof webFrame;
15+
childProcess!: typeof childProcess;
16+
fs!: typeof fs;
1717

1818
constructor() {
1919
// Conditional imports

Diff for: tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compileOnSave": false,
33
"compilerOptions": {
4+
"strict": true,
45
"outDir": "./dist/out-tsc",
56
"module": "es2022",
67
"sourceMap": true,

0 commit comments

Comments
 (0)