ws-cleanup-types: archive, audio, data, font, image, layered, music, playlist, subtitle, vector, video: annotations, casts, one value per re-assignment where the solver loses the type

This commit is contained in:
4DBug committed 2026-10-31 11:00:25 -05:00
1 parent dc98aec2ec
commit f459b2dcdf
44 files changed
+172 -119

No files matched your search

+1 -1
View File
@@ -163,7 +163,7 @@ function Write.vector(v: Types.Vector): (string?, string?)
for k, d in p.strokeDashArray do
parts[k] = num(tonumber(d) or 0)
end
table.insert(attrs, { "stroke-dasharray", table.concat(parts, " ") })
table.insert(attrs, { "stroke-dasharray", table.concat(parts :: { string }, " ") })
local off = tonumber(p.strokeDashOffset)
table.insert(attrs, { "stroke-dashoffset", if off and off ~= 0 then off else nil })
end