Skip to content

feat: enabled typescript strict mode #1229

feat: enabled typescript strict mode

feat: enabled typescript strict mode #1229

Triggered via pull request October 21, 2024 14:08
Status Failure
Total duration 35s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Build: src/main/Core/ImageGenerator/Linux/LinuxAppIconExtractor.ts#L34
Property 'searchCache' has no initializer and is not definitely assigned in the constructor.
Build: src/main/Core/ImageGenerator/Linux/LinuxAppIconExtractor.ts#L35
Property 'userTheme' has no initializer and is not definitely assigned in the constructor.
Build: src/main/Core/ImageGenerator/Linux/LinuxAppIconExtractor.ts#L41
Property 'finishedInit' has no initializer and is not definitely assigned in the constructor.
Build: src/main/Core/ImageGenerator/Linux/LinuxAppIconExtractor.ts#L196
Object is possibly 'undefined'.
Build: src/main/Core/ImageGenerator/Linux/LinuxAppIconExtractor.ts#L214
Type '(string | undefined)[]' is not assignable to type 'string[]'.
Build: src/main/Core/ImageGenerator/Linux/LinuxAppIconExtractor.ts#L290
Type 'undefined' cannot be used as an index type.
Build: src/main/Core/ImageGenerator/Linux/LinuxAppIconExtractor.ts#L316
Type 'undefined' is not assignable to type 'string'.
Build: src/main/Core/ImageGenerator/Linux/LinuxAppIconExtractor.ts#L325
Object is possibly 'undefined'.
Build: src/main/Core/ImageGenerator/Linux/LinuxAppIconExtractor.ts#L337
Type 'undefined' is not assignable to type 'string'.
Build: src/main/Core/ImageGenerator/Linux/LinuxAppIconExtractor.ts#L341
Object is possibly 'undefined'.