[PR #2230] [MERGED] ♻️ (typescript) enable strict mode everywhere #4192

Closed
opened 2026-02-28 20:52:51 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2230
Author: @MatissJanis
Created: 1/14/2024
Status: Merged
Merged: 1/15/2024
Merged by: @MatissJanis

Base: masterHead: matiss/typescript-strict


📝 Commits (2)

  • a067f94 ♻️ (typescript) enable strict mode everywhere
  • 356cfcc Release notes

📊 Changes

350 files changed (+415 additions, -8 deletions)

View changed files

📝 package.json (+3 -2)
📝 packages/api/methods.test.ts (+1 -0)
📝 packages/desktop-client/src/ResponsiveProvider.tsx (+1 -0)
📝 packages/desktop-client/src/components/AnimatedRefresh.tsx (+1 -0)
📝 packages/desktop-client/src/components/App.tsx (+1 -0)
📝 packages/desktop-client/src/components/FatalError.tsx (+1 -0)
📝 packages/desktop-client/src/components/FinancesApp.tsx (+1 -0)
📝 packages/desktop-client/src/components/FixedSizeList.tsx (+1 -0)
📝 packages/desktop-client/src/components/GlobalKeys.ts (+1 -0)
📝 packages/desktop-client/src/components/KeyHandlers.tsx (+1 -0)
📝 packages/desktop-client/src/components/LoggedInUser.tsx (+1 -0)
📝 packages/desktop-client/src/components/ManageRules.tsx (+1 -0)
📝 packages/desktop-client/src/components/Modals.tsx (+1 -0)
📝 packages/desktop-client/src/components/Notes.tsx (+1 -0)
📝 packages/desktop-client/src/components/NotesButton.tsx (+1 -0)
📝 packages/desktop-client/src/components/Notifications.tsx (+1 -0)
📝 packages/desktop-client/src/components/PrivacyFilter.tsx (+1 -0)
📝 packages/desktop-client/src/components/ScrollProvider.tsx (+1 -0)
📝 packages/desktop-client/src/components/ServerContext.tsx (+1 -0)
📝 packages/desktop-client/src/components/Titlebar.tsx (+1 -0)

...and 80 more files

📄 Description

Fixing all the issues that keep coming in from new PRs is like swimming against the tide. Instead of continuing with that approach: I'm enabling strict mode everywhere. And then explicitly disabling in the files where it breaks (these need to be fixed still).

This ensures that all new files created will follow TS strict mode.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/2230 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 1/14/2024 **Status:** ✅ Merged **Merged:** 1/15/2024 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/typescript-strict` --- ### 📝 Commits (2) - [`a067f94`](https://github.com/actualbudget/actual/commit/a067f944a0ab29d564332f55226e7e53d85e0afa) :recycle: (typescript) enable strict mode everywhere - [`356cfcc`](https://github.com/actualbudget/actual/commit/356cfcc3f1528f95eb308aef1f32507d1bcfe8a1) Release notes ### 📊 Changes **350 files changed** (+415 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+3 -2) 📝 `packages/api/methods.test.ts` (+1 -0) 📝 `packages/desktop-client/src/ResponsiveProvider.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/AnimatedRefresh.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/App.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/FatalError.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/FinancesApp.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/FixedSizeList.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/GlobalKeys.ts` (+1 -0) 📝 `packages/desktop-client/src/components/KeyHandlers.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/LoggedInUser.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/ManageRules.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/Modals.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/Notes.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/NotesButton.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/Notifications.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/PrivacyFilter.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/ScrollProvider.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/ServerContext.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/Titlebar.tsx` (+1 -0) _...and 80 more files_ </details> ### 📄 Description Fixing all the issues that keep coming in from new PRs is like swimming against the tide. Instead of continuing with that approach: I'm enabling strict mode everywhere. And then explicitly disabling in the files where it breaks (these need to be fixed still). This ensures that all new files created will follow TS strict mode. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 20:52:51 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#4192