website
git clone https://git.pyrossh.dev/website
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
7773d16
— pyrossh
2026-07-07T12:34:17+05:30
fix: add missing SVG attribute types and fix boolean required attr
packages/shared/ui/src/elements.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ declare global {
|
|
|
15
15
|
"time-ago": HtmlTag & { "data-date"?: string; date?: string };
|
|
16
16
|
"current-year": HtmlTag;
|
|
17
17
|
svg: HtmlTag & { viewBox?: string; xmlns?: string; width?: string; height?: string; fill?: string };
|
|
18
|
-
g: HtmlTag & { fill?: string };
|
|
18
|
+
g: HtmlTag & { fill?: string; transform?: string };
|
|
19
|
-
path: HtmlTag & { d?: string; fill?: string; stroke?: string; "stroke-width"?: string; "stroke-linecap"?: string; "stroke-linejoin"?: string };
|
|
19
|
+
path: HtmlTag & { d?: string; fill?: string; stroke?: string; "stroke-width"?: string; "stroke-linecap"?: string; "stroke-linejoin"?: string; opacity?: string };
|
|
20
20
|
circle: HtmlTag & { cx?: string; cy?: string; r?: string };
|
|
21
21
|
rect: HtmlTag & { x?: string; y?: string; width?: string; height?: string; rx?: string };
|
|
22
22
|
defs: HtmlTag;
|
|
23
23
|
clipPath: HtmlTag & { id?: string };
|
|
24
|
-
linearGradient: HtmlTag & { id?: string; x1?: string; y1?: string; x2?: string; y2?: string };
|
|
24
|
+
linearGradient: HtmlTag & { id?: string; x1?: string; y1?: string; x2?: string; y2?: string; gradientUnits?: string; gradientTransform?: string };
|
|
25
25
|
stop: HtmlTag & { offset?: string; "stop-color"?: string };
|
|
26
26
|
text: HtmlTag & { x?: string; y?: string; "font-size"?: string; fill?: string };
|
|
27
27
|
}
|
packages/workers/repos/issues/index/src/index.tsx
CHANGED
|
@@ -64,7 +64,7 @@ export default {
|
|
|
64
64
|
hx-swap="innerHTML"
|
|
65
65
|
>
|
|
66
66
|
<input name="repoId" type="hidden" value={repo.id} />
|
|
67
|
-
<input name="title" placeholder="Title" required />
|
|
67
|
+
<input name="title" placeholder="Title" required="true" />
|
|
68
68
|
<textarea name="body" placeholder="Description"></textarea>
|
|
69
69
|
<div class="form-row">
|
|
70
70
|
<input name="author" placeholder="Author" />
|
tsconfig.base.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"skipLibCheck": true,
|
|
10
10
|
"forceConsistentCasingInFileNames": true,
|
|
11
11
|
"resolveJsonModule": true,
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
12
13
|
"isolatedModules": true,
|
|
13
14
|
"noEmit": true,
|
|
14
15
|
"types": ["@cloudflare/workers-types"]
|