Skip to content

chore: strengthen typescript safety and enable strict mode - #34

Merged
Harsh16gupta merged 1 commit into
masterfrom
strengthen-typescript-safety
Jul 25, 2026
Merged

chore: strengthen typescript safety and enable strict mode#34
Harsh16gupta merged 1 commit into
masterfrom
strengthen-typescript-safety

Conversation

@Harsh16gupta

@Harsh16gupta Harsh16gupta commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

Tightens type safety across the project without altering any algorithms.

Strict Mode: Enabled "strict": true in tsconfig.json and added npm run typecheck to CI.
Removed any: Added explicit types for Joplin API responses, worker variables, and experimental joplin.ai calls.
Safe Error Handling: Converted catch (err: any) blocks to type-safe unknown error handling.
Verification: All 137 unit tests, linter checks, typechecks, and build steps (npm run ci) pass cleanly.

@Harsh16gupta

Copy link
Copy Markdown
Collaborator Author

These changes strictly remove any and improve type safety without modifying any logic. All tests and CI checks pass cleanly, so I'm merging this now.

@Harsh16gupta Harsh16gupta self-assigned this Jul 25, 2026
@Harsh16gupta
Harsh16gupta merged commit 62be4ae into master Jul 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant