Skip to content

feat: enabled typescript strict mode #1230

feat: enabled typescript strict mode

feat: enabled typescript strict mode #1230

Triggered via pull request October 21, 2024 14:13
Status Failure
Total duration 33s
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'.