Skip to content

refactor: enable TS strict mode #2152

refactor: enable TS strict mode

refactor: enable TS strict mode #2152

Triggered via pull request September 7, 2023 21:15
Status Failure
Total duration 1m 7s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
lint
28s
lint
GitHub Action Dry Run
54s
GitHub Action Dry Run
Matrix: Test Suite
Fit to window
Zoom out
Zoom in

Annotations

42 errors
lint
Process completed with exit code 2.
Test Suite (20): src/cmds/categories/create.ts#L68
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (20): src/cmds/categories/create.ts#L73
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (20): src/cmds/categories/create.ts#L76
'title' is possibly 'undefined'.
Test Suite (20): src/cmds/categories/create.ts#L94
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (20): src/cmds/categories/index.ts#L24
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (20): src/cmds/categories/index.ts#L28
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (20): src/cmds/changelogs.ts#L45
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (20): src/cmds/custompages.ts#L45
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (20): src/cmds/docs/edit.ts#L48
Property 'run' in type 'DocsEditCommand' is not assignable to the same property in base type 'Command'.
Test Suite (20): src/cmds/docs/edit.ts#L58
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (16): src/cmds/categories/create.ts#L68
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (16): src/cmds/categories/create.ts#L73
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (16): src/cmds/categories/create.ts#L76
'title' is possibly 'undefined'.
Test Suite (16): src/cmds/categories/create.ts#L94
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (16): src/cmds/categories/index.ts#L24
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (16): src/cmds/categories/index.ts#L28
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (16): src/cmds/changelogs.ts#L45
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (16): src/cmds/custompages.ts#L45
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (16): src/cmds/docs/edit.ts#L48
Property 'run' in type 'DocsEditCommand' is not assignable to the same property in base type 'Command'.
Test Suite (16): src/cmds/docs/edit.ts#L58
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (14): src/cmds/categories/create.ts#L68
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (14): src/cmds/categories/create.ts#L73
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (14): src/cmds/categories/create.ts#L76
'title' is possibly 'undefined'.
Test Suite (14): src/cmds/categories/create.ts#L94
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (14): src/cmds/categories/index.ts#L24
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (14): src/cmds/categories/index.ts#L28
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (14): src/cmds/changelogs.ts#L45
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (14): src/cmds/custompages.ts#L45
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (14): src/cmds/docs/edit.ts#L48
Property 'run' in type 'DocsEditCommand' is not assignable to the same property in base type 'Command'.
Test Suite (14): src/cmds/docs/edit.ts#L58
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (18): src/cmds/categories/create.ts#L68
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (18): src/cmds/categories/create.ts#L73
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (18): src/cmds/categories/create.ts#L76
'title' is possibly 'undefined'.
Test Suite (18): src/cmds/categories/create.ts#L94
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (18): src/cmds/categories/index.ts#L24
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (18): src/cmds/categories/index.ts#L28
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (18): src/cmds/changelogs.ts#L45
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (18): src/cmds/custompages.ts#L45
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test Suite (18): src/cmds/docs/edit.ts#L48
Property 'run' in type 'DocsEditCommand' is not assignable to the same property in base type 'Command'.
Test Suite (18): src/cmds/docs/edit.ts#L58
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
GitHub Action Dry Run
Docker build failed with exit code 1