Fix all pnpm type-check warnings and restore lost Props typing (#2805)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: codecalm <1282324+codecalm@users.noreply.github.com>
This commit is contained in:
Bartosz-Do
2026-08-08 17:35:17 +02:00
committed by GitHub
co-authored by StarDev codecalm
parent 2777fff433
commit 0085eeba6e
14 changed files with 60 additions and 31 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ interface Props {
footer?: boolean;
footerButton?: boolean;
footerButtons?: boolean;
/** a ">" prefix pushes the element (and every following one) to the right — `right` is never reset */
/** a right-angle-bracket prefix pushes the element (and every following one) to the right — `right` is never reset */
footerElements?: string[];
progress?: boolean;
}
@@ -3,7 +3,7 @@ import Icon from '@ui/Icon.astro'
---
<!-- BEGIN HEADER ACTIONS -->
<button type="button" class="btn btn-primary" onclick="javascript:window.print();">
<button type="button" class="btn btn-primary" onclick="window.print()">
<Icon name="printer" /> Print Invoice
</button>
<!-- END HEADER ACTIONS -->
+1 -1
View File
@@ -58,7 +58,7 @@ const typedId = 'typed'
<script is:inline define:vars={{ typedId, strings }}>
// @ts-nocheck — typedId is used in a template literal, which the type checker resolves independently of define:vars.
function initTyped() {
const typed = new Typed(`#${typedId}`, {
new Typed(`#${typedId}`, {
strings,
typeSpeed: 100,
backSpeed: 50,