[PR #6026] [MERGED] TypeScript: make component-library strict ts compliant (almost) #48097

Closed
opened 2026-04-26 10:02:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6026
Author: @MatissJanis
Created: 10/29/2025
Status: Merged
Merged: 11/6/2025
Merged by: @MatissJanis

Base: masterHead: matiss/component-library-ts-strict


📝 Commits (2)

  • fb268f6 TypeScript: make component-library strict ts compliant (almost)
  • 8bd0f20 Merge branch 'master' into matiss/component-library-ts-strict

📊 Changes

3 files changed (+10 additions, -4 deletions)

View changed files

📝 packages/component-library/src/icons/index-template.ts (+1 -2)
📝 packages/component-library/src/icons/template.ts (+3 -2)
upcoming-release-notes/6026.md (+6 -0)

📄 Description

Note

Add strict TypeScript typings to icon generation templates and include a maintenance release note.

  • Component Library · Icons:
    • Type index-template.ts: indexTemplate(filePaths: { path: string }[]).
    • Type template.ts: define tmpl as Options['template'] via @svgr/babel-preset.
  • Release Notes:
    • Add upcoming-release-notes/6026.md (Maintenance).

Written by Cursor Bugbot for commit 8bd0f2083d. This will update automatically on new commits. Configure here.


🔄 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/6026 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 10/29/2025 **Status:** ✅ Merged **Merged:** 11/6/2025 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/component-library-ts-strict` --- ### 📝 Commits (2) - [`fb268f6`](https://github.com/actualbudget/actual/commit/fb268f692cce7e43a15678a61a7d2d765efa3d33) TypeScript: make component-library strict ts compliant (almost) - [`8bd0f20`](https://github.com/actualbudget/actual/commit/8bd0f2083d85db24b742b43901fdbfae7d991f43) Merge branch 'master' into matiss/component-library-ts-strict ### 📊 Changes **3 files changed** (+10 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/component-library/src/icons/index-template.ts` (+1 -2) 📝 `packages/component-library/src/icons/template.ts` (+3 -2) ➕ `upcoming-release-notes/6026.md` (+6 -0) </details> ### 📄 Description <!-- CURSOR_SUMMARY --> > [!NOTE] > Add strict TypeScript typings to icon generation templates and include a maintenance release note. > > - **Component Library · Icons**: > - Type `index-template.ts`: `indexTemplate(filePaths: { path: string }[])`. > - Type `template.ts`: define `tmpl` as `Options['template']` via `@svgr/babel-preset`. > - **Release Notes**: > - Add `upcoming-release-notes/6026.md` (Maintenance). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 8bd0f2083d85db24b742b43901fdbfae7d991f43. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --- <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-04-26 10:02:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#48097